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 ModeAccessory Socket Inspection
Front
1. Disconnect the negative battery cable..
2. Remove the upper panel..
3. Remove the shift lever knob. (MTX).
4. Remove the selector lever knob. (ATX).
5. Remove the shift panel.
6. Remove the accessory socket (front).
7. Connect a tester as shown in the figure and verify that the ...
Information Display Removal/Installation
CAUTION:
When replacing the information display, the configuration procedure must
be performed before removing the information display. The information display
will not operate normally if it is replaced without performing the configuration
procedure.
1. Perform the informatio ...
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.
...