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 ModeFuel Gauge Sender Unit Inspection
MZR 2.3 DISI Turbo, SKYACTIV-G 2.0
NOTE:
The fuel gauge sender unit is integrated with the fuel pump unit.
1. Disconnect the negative battery cable..
2. Remove the rear seat cushion..
3. Remove the fuel pump unit..
4. Verify that the resistance between terminals A and C of the f ...
Audio Unit Disassembly/Assembly
CAUTION:
When disassembling the audio unit, it could get scratched if it is placed
directly on the ground. When disassembling the audio unit, spread a soft cloth
underneath to perform the work.
1. Disassemble in the order indicated in the table.
2. Assemble in the reverse order ...
Climate Control Unit Removal/Installation [Full Auto Air Conditioner]
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. Center panel.
h. Audio unit.
3. Remove in the order indicated in the table.
...