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: Keys
WARNING
Do not leave the key in your vehicle with children and keep them in a place
where your children will not find or play with them: Leaving children in a
vehicle with the key is dangerous. This could result in someone being badly injured
or even killed. Children may find these keys to be ...
Mazda 6 Owners Manual: Front map light removal/installation
1. Disconnect the negative battery cable.
2. Remove in the order indicated in the table.
3. Install in the reverse order of removal.
Front Map Light Removal Note
1. Insert a tape-wrapped flathead screwdriver into the gap between the
headliner and the front map light.
2. Push the hooks to ...