Now my car will not stayed locked. If I lock it from the drivers side, when I shut the door it will unlock. If I lock it from the passengers side it will stay locked, but not for long. When I return to my car all the locks are unlocked. I do hear a clicking noise in the panel just above the glove compartment when shutting doors.
Electrical problems are nightmares to troubleshoot.
About all you can do is to check wiring for damage and or bad connections, especially the ground wires. There also may be a faulty switch somewhere. We have a 1995 GMC Suburban 1500 SLT, which has been great but has suddenly developed a strange electrical problem. The remote keyless entry stopped working. But when I put it back in, it sparked and wouldn't go back in.