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 ModeVacuum Hose Removal/Installation [Mzr 2.3 Disi Turbo]
1. Remove the charge air cooler cover..
2. Remove the charge air cooler..
3. Insert a thin flathead screwdriver at the point indicated by the arrow in
the figure, push the ring down and disconnect the vacuum hose from the intake manifold.
4. Remove the vacuum hose from the vacuum hose c ...
Auxiliary Jack Inspection
1. Disconnect the negative battery cable..
2. Remove the following parts:
a. Upper panel.
b. Shift lever knob (MTX).
c. Selector lever knob (ATX).
d. Shift panel.
e. Side wall.
f. Console.
g. Auxiliary jack.
3. Connect a commercially-available nonresistant plug to the auxiliary jac ...
Knock Sensor (Ks) Inspection [Mzr 2.0, Mzr 2.5]
Resistance Inspection
1. Remove the battery cover..
2. Disconnect the negative battery cable..
3. Disconnect the KS connector.
4. Measure the resistance between KS terminals A and B.
If not as specified, replace the KS..
Specification
Approx. 4.87 megohms [normal tem ...