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 ModeHeadliner Removal/Installation
1. Shift to the D (ATX) or 4th gear (MTX) position. (4SD)
2. Disconnect the negative battery cable..
3. Remove the rain sensor cover. (Vehicles with auto light/wiper system).
4. Disconnect the rain sensor connector. (Vehicles with auto light/wiper system)
5. Partially peel back the seaming ...
Oil Pump Removal/Installation [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 ...
Storage Compartments
WARNING
Keep storage boxes closed when
driving:
Driving with the storage boxes open is
dangerous. To reduce the possibility of
injury in an accident or a sudden stop,
keep the storage boxes closed when
driving.
Do not put articles in storage spaces
with no lid:
...