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 ModeTrunk Lid Removal/Installation
WARNING:
Removing the trunk lid stay damper without supporting the trunk lid can be
dangerous. The trunk lid may fall and injure you. Be sure to open the trunk
lid completely and support it securely before removing the trunk lid stay damper.
1. Disconnect the negative battery cab ...
Restraints SST [Two Step Deployment Control System]
49 H066 002
Deployment tool
49 D066 002
Adapter harness
49 L066 002
Adapter harness
49 G066 003
Adapter harness
49 N088 0A0
Fuel and Thermometer checker
...
Locking, Unlocking with Key
All doors and the liftgate lock
automatically when the driver's door is
locked using the auxiliary key.
All doors and the liftgate unlock when the
driver's door is unlocked and the auxiliary
key is held in the unlock position for one
second or longer.
Turn the auxiliary key toward the fro ...