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 ModeAntenna Feeder No.1 Inspection
1. Disconnect the negative battery cable..
2. Remove the following parts:
a. Center panel.
b. Audio unit.
c. A-pillar trim (RH).
3. Disconnect antenna feeder No.2.
4. Verify that the continuity between antenna feeder No.1 terminals is as indicated
in the table.
If not a ...
Washer Fluid Level Sensor Inspection
1. Disconnect the negative battery cable..
2. Remove the front bumper..
3. Verify that continuity between the washer fluid-level sensor terminals is
as indicated in the table.
If not as specified, replace the washer fluid-level sensor.
...
Engine Coolant Temperature (ECT) Sensor Inspection [Mzr 2.0, Mzr 2.5]
ECT Sensor No.1
Resistance inspection
WARNING:
When the engine is hot, it can badly burn. Turn off the engine and wait until
it is cool before removing the ECT sensor.
1. Remove the battery cover..
2. Disconnect the negative battery cable..
3. Drain the engine coolant..
4. R ...