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 ModeDrive Selection
Drive selection is a system to switch the vehicle's drive mode. When the
sport mode
is selected, vehicle's response against accelerator operation is enhanced. This
provides
additional quick acceleration which may be needed to safely make maneuvers such
as lane
changes, merging onto freeways ...
No.7 Bsm Indicator Light Does Not Flash While Under Bsm Indicator Light Flashing
Conditions (With Combination Switch Operation (Turn Signal Switch)) [Blind Spot
Monitoring (Bsm)]
7
BSM indicator light does not flash while under BSM indicator light-flashing
conditions (with combination switch operation (turn signal switch))
Description
The BSM indicator light does not flash or illuminate continuously,
...
Engine Removal/Installation [Mzr 2.0, Mzr 2.5]
WARNING:
Fuel vapor is hazardous. It can very easily ignite, causing serious injury
and damage. Always keep sparks and flames away from fuel.
Fuel line spills and leakage are dangerous. Fuel can ignite and cause serious
injuries or death and damage. Fuel can also irritate skin ...