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 ModePID/Data Monitor Inspection [Blind Spot Monitoring (Bsm)]
1. Connect the M-MDS (IDS) to the DLC-2.
2. After the vehicle is identified, select the following items from the initialization
screen of the IDS.
a. Select “DataLogger”.
b. Select “Modules”.
c. Select “BSML” or “BSMR”.
3. Select the applicable PID from the PID table. ...
Neutral Switch Removal/Installation [G66 M R]
1. Remove the battery cover..
2. Disconnect the negative battery cable.
3. Remove the battery component. (ex: battery, battery tray and PCM component).
4. Remove the aerodynamic under cover No.2..
5. Drain the oil from the transaxle..
6. Remove the neutral switch.
7. Install the neu ...
Engine Oil Replacement [Mzr 2.0, Mzr 2.5]
WARNING:
Hot engines and engine oil can cause severe burns. Turn off the engine and
wait until it and the engine oil have cooled.
A vehicle that is lifted but not securely supported on safety stands is dangerous.
It can slip or fall, causing death or serious injury. Never work ...