Door Key Lock/Unlock Switch Circuit: Description
WARNING: This page is about a different car, the 2006 Toyota Land Cruiser. However, it is still accessible from the selected car via links, so may be relevant.
The door key lock and unlock switch is built in the door key cylinder. When the key is turned to the lock side, the LOCK terminal of the switch is grounded and when the key is turned to the unlock side, the UNLOCK terminal of the switch is grounded.