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: Clock spring removal/installation
1. Disconnect the negative battery cable.
2. Remove the driver-side air bag module. (See DRIVER-SIDE AIR BAG MODULE
REMOVAL/INSTALLATION.)
3. Remove the steering wheel. (See STEERING WHEEL AND COLUMN
REMOVAL/INSTALLATION.)
4. Remove the column cover.
5. Remove in the order indicated in the t ...
Mazda 6 Owners Manual: Opening the Hood
1. With the vehicle parked, pull the release handle to unlock the hood.
2. Insert your hand into the hood opening, slide the latch lever to the right,
and lift up the hood.
NOTE
The lever is located a little to the left of center when facing the vehicle.
3. Grasp the support rod in the pad ...