If the selector lever will not move from P using the proper shift procedure, continue to hold down the brake pedal.

Take the vehicle to an Authorized Mazda Dealer to have the system checked.
Shift-Lock System
Manual Shift ModeVariable Valve Timing Actuator Removal/Installation [Mzr 2.0, Mzr 2.5]
NOTE:
Variable valve timing actuator can not be disassembled because it is a
precision unit.
Intake camshaft sprocket is integrated with the variable valve timing actuator
and cannot be disassembled.
1. Remove the battery cover..
2. Disconnect the negative battery cable ...
Variable Tumble Shutter Valve Switch Inspection [Mzr 2.0, Mzr 2.5]
Voltage Inspection
NOTE:
The variable tumble shutter valve switch cannot be removed as a single unit.
When replacing the variable tumble shutter valve switch, replace it together
with the intake manifold as a single unit.
1. Connect the M-MDS to the DLC–2.
2. Switch the ...
Pre-programming the HomeLink
System
NOTE
It is recommended that a new battery be
placed in the hand-held transmitter of the
device being programmed to HomeLink
for quicker training and accurate
transmission of the radio-frequency signal.
Verify that there is a remote control
transmitter available for the device you
would ...