Junction connector J6, located in the vicinity of the left instrument panel, contains wiring and connections that are specifically related to the problems which you have described:
both door lock control switches, and also the driver side door key unlock switch. If you can locate and expose this particular connector, you can disconnect it and clean it with contact cleaner spray. ... Just inspect the connector and see if there is anything obviously wrong, like it has come apart.
Look on page 31 of the following pdf for a location diagram:
http://www.camrymanuals.com/manuals/99/99EWD.pdf
__________________
98 Camry LE, 2.2L, automatic
50k miles, drop in K&N A/F

recent timing belt, water pump