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: Personalization Features
The following personalization features can be set or changed by the customer
or an Authorized Mazda Dealer. Consult an Authorized Mazda Dealer for details.
Additionally, some of the personalization features can be changed by the customer
depending on the feature.
Personalization features and s ...
Mazda 6 Owners Manual: Power window main switch inspection
Drivers side
1. Remove the driver-side front door trim.
2. Connect the power window main switch connector.
3. Measure the voltage at the power window main switch terminals as indicated
below.
4. Disconnect the power window main switch connector before inspecting for
continuity at terminals 1 ...