Circuit Description
WARNING: This page is about a different car, the 2002 Toyota Prius. 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, terminal 3 of the switch is grounded and when the key is turned to the unlock side, terminal 2 of the switch is grounded.