All doors and the liftgate lock automatically when the driver's door is locked using the auxiliary key.
All doors and the liftgate unlock when the driver's door is unlocked and the auxiliary key is held in the unlock position for one second or longer.
Turn the auxiliary key toward the front to lock, toward the back to unlock.

NOTE Holding the auxiliary key in the unlocked position in the driver's door lock for about a second unlocks all doors and the liftgate.
To unlock only the driver's door, insert the auxiliary key into the driver's door lock and turn the auxiliary key briefly to the unlock position and then immediately return it to the center position.
Operational Range
Locking, Unlocking with Request
Switch (With the advanced keyless
function)ABS HU/CM Removal/Installation
WARNING:
If the ABS HU/CM configuration is not completed, it could result in an unexpected
accident due to the ABS being inoperative. If the ABS HU/CM or ABS CM is replaced,
always use the automatic configuration function so that the ABS operation conditions
are correct.
CAUTI ...
Stop Vehicle in Safe Place Immediately
If any of the following warning lights turns on, the system may have a
malfunction. Stop the
vehicle in a safe place immediately and contact an Authorized Mazda Dealer.
...
Crankshaft Position (CKP) Sensor Inspection [Mzr 2.0, Mzr 2.5]
Visual Inspection
CAUTION:
When foreign material such as an iron chip is on the CKP sensor, it can cause
abnormal output from the sensor because of flux turbulence and adversely affect
the engine control. Be sure there is no foreign material on the CKP sensor when
replacing.
...