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: Rear window glass installation
Caution
To prevent the sealant from cracking or the glass from being
pushed out by air pressure if a door is closed, open all of the windows and
leave them open until the sealant has hardened.
1. Cut away the old sealant using a razor so that 1-2 mm {0.04-0.07 in}
thickness of sealant ...
Mazda 6 Owners Manual: A/c unit disassembly/assembly
1. Disassemble in the order indicated in the table.
2. Assemble in the reverse order of disassembly.
Evaporator Temperature Sensor Assembly Note
Assemble the evaporator temperature sensor as shown in the figure.
Sensor Clamp Assembly Note
Attach the sensor clamp as shown in the figure ...