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: Power Windows
The ignition must be switched ON for the power windows to operate.
WARNING
Make sure the opening is clear before closing a window: Closing a
power window is dangerous. A person's hands, head, or even neck could be caught
by the window and result in serious injury or even death. This warning ap ...
Mazda 6 Owners Manual: Luggage Compartment
Loading golf bags
Golf bags can be carried in the luggage compartment.
Up to three golf bags can be carried in the luggage compartment.
Place each of the three golf bags into the luggage compartment with the bottom
of each bag pointed to the left, and then set the top of each bag so that it is ...