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 ModeDown Switch Inspection [Fw6 A EL]
Continuity Inspection
NOTE:
The down switch is built into the selector lever component.
1. Remove the battery cover..
2. Disconnect the negative battery cable..
3. Remove the console..
4. Disconnect the selector lever component connector.
5. Verify that the continuity betw ...
Quick Release Connector Removal/Installation [Mzr 2.0, Mzr 2.5]
WARNING:
Fuel is very flammable liquid. If fuel spills or leaks from the pressurized
fuel system, it will cause serious injury or death and facility breakage. Fuel
can also irritate skin and eyes. To prevent this, always complete the “Fuel
Line Safety Procedure”, while referring ...
Unfastening the Seat Belt
Depress the button on the seat belt buckle.
If the belt does not fully retract, pull it out
and check for kinks or twists. Then make
sure it remains untwisted as it retracts.
NOTE
If a belt does not fully retract, inspect
it for kinks and twists. If it is still not
retracting properly, ...