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 Pump Inspection [Skyactiv G 2.0]
1. Pinch open the clamp using pliers and disconnect the vacuum hose from the
vacuum pump.
2. Install the vacuum gauge as shown in the figure, then check the vacuum.
3. Warn up the engine.
If the pressure is less than the specification, inspect for the following.
M ...
Clutch Fluid Replacement/Air Bleeding [C66 M R]
CAUTION:
Do not allow clutch fluid get on a painted surface. Clutch fluid contains
properties which can dissolve the paint. If clutch fluid gets on a painted surface,
wash it off with water immediately and wipe the area off completely.
Do not mix different types of clutch fluid ...
Afs (Adaptive Front Lighting System) Control Module Removal/Installation
NOTE:
Perform the auto leveling system initialization after newly replacing the
AFS control module to assure that the auto leveling system operates correctly.
1. Disconnect the negative battery cable..
2. Remove the following parts:
a. Passenger-side front scuff plate.
b. Pass ...