Toyota Corolla (E120): Circuit description
The door unlock detection switch is built in the door lock motor assembly. This switch is on when the door lock knob is in the unlock position and off when the knob is in the lock position. The ecu detects the door lock knob conditions in this circuit.
Wiring diagram

Other materials:
Exterior
Doors
Locking/unlocking
Opening/closing the side windows
Locking/unlocking by using the mechanical key*1
Warning messages
Trunk
Opening from inside
Opening from outside
Warning messages
Outside rear view mirrors
Adjusting the mirror angle
Folding the mirrors
Defogging the mirrors*2
...
On–vehicle inspection
1. Inspect cooling system for leaks
Caution:
to avoid the danger of being burned, do not remove the radiator
cap while the engine and radiator are still hot, as fluid
and steam can be blown out under pressure.
fill the radiator with coolant and attach a radiator cap tester.
  ...
Displaying the device status
Select “Bluetooth* info” using .
● Displaying the device name
Select “Device Name” using .
● Displaying the device address
Select “Device Address” using .
*: Bluetooth is a registered trademark of Bluetooth SIG, Inc. ...


