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: Operation of Automatic Air-conditioning
1. Press the AUTO switch. Selection of the airflow mode, air intake selector
and amount of airflow will be automatically controlled.
2. Use the temperature control dial to select a desired temperature. Press the
DUAL switch or turn the front passenger temperature control dial to control the
s ...
Mazda 6 Owners Manual: Cell Phones
WARNING
Please comply with the legal regulations concerning the use of communication
equipment in vehicles in your country: Use of any electrical devices such
as cell phones, computers, portable radios, vehicle navigation or other devices
by the driver while the vehicle is moving is dangerous ...