the blue wire should be conneted to the back of alternator which inturn is connected to the ignition light on the dash(if not connected battery will NOT charge)! clicking starter could be it's got a knackered solenoid.
regarding the door lock unlocking it's the c/locking motor's knackered