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 ModeRear Oil Seal Replacement [Mzr 2.0, Mzr 2.5]
1. Remove the transaxle..
2. Remove the flywheel (MTX) or the drive plate (ATX)..
3. Remove in the order indicated in the table.
4. Install in the reverse order of removal.
1
Bolt
2
Rear oil seal
(See Rear Oil Seal Installation Note. ...
Afs (Adaptive Front Lighting System) Off Switch Removal/Installation
1. Disconnect the negative battery cable..
2. Remove the switch panel in the direction of the arrow shown in the figure.
3. Disconnect the connector.
4. Remove the AFS OFF switch in the direction of the arrow (2) shown in the figure
while pressing the tabs in the direction of the arrow ...
TCM Configuration [Fw6 A EL]
NOTE:
The TCM is built into the control valve body.
1. Verify TCM configuration implementation necessity for replacement parts.
Replacement part
Configuration necessity
Control valve body replacement
Necessary
...