All doors lock automatically when the lock side is pressed. They unlock when the unlock side is pressed.
Driver's door

Front passenger's door

To lock all the doors from an open front door, press the lock side of the door lock switch and then close the door.
NOTE
When locking the doors this way, be careful not to leave the key inside the vehicle.
Locking, Unlocking with Transmitter
Auto Lock/Unlock FunctionMazda 6 Owners Manual: Pid/data monitor inspection
1. Connect the WDS or equivalent to the DLC-2.
2. Measure the PID value.
Note
Perform part inspection for the output device after PCM
inspection.
The PID/DATA MONITOR function monitors the calculated value of the
input/output signals in the PCM. Therefore, if a monitored value ...
Mazda 6 Owners Manual: Initial setting
Note
A driver side window will not fully close automatically under
following the conditions:
- The battery has been disconnected during vehicle maintenance or
for other reasons.
- The power window main switch connector, or driver-side power
window motor connector has been discon ...