1. Remove the front door unit.
2. Remove the screws, then remove the front door latch and door lock actuator.

3. Install in the reverse order of removal.
Rear door unit removal/installation
Rear door latch and lock actuator removal/installationMazda 6 Service Manual: Child-Restraint Precautions
Mazda strongly urges the use of child-restraint systems for children small enough
to use them.
You are required by law to use a child-restraint system for children in the U.S.
and Canada. Check your local and state or provincial laws for specific requirements
regarding the safety of children ...
Mazda 6 Service Manual: Oil pressure switch removal/installation
Warning
When the transaxle and ATF are hot, they can badly burn. Turn off
the engine and wait untill they are cool before replacing ATF.
1. Disconnect the negative battery cable.
2. Remove the under cover.
3. Disconnect the cord assembly connector.
4. Remove the oil pressure switch.
...