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: Troubleshooting procedure
Basic flow of troubleshooting
DTC troubleshooting flow (on-board diagnostic)
Diagnostic trouble codes (DTCs) are important hints for repairing
malfunctions that are difficult to simulate.
Perform the specific DTC diagnostic inspection to quickly and accurately
diagnose the malfunction.
The ...
Mazda 6 Owners Manual: Transaxle range (tr) switch removal/installation
1. Disconnect the negative battery cable.
2. Remove the air cleaner component. (See INTAKE-AIR SYSTEM
REMOVAL/INSTALLATION.)
Caution
Water or foreign objects entering the connector can cause a poor
connection or corrosion. Be sure not to drop water or foreign objects on the
connector w ...