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 ModeFront Oil Seal Replacement [Mzr 2.0, Mzr 2.5]
1. Remove the battery cover..
2. Disconnect the negative battery cable..
3. Remove the plug hole plate..
4. Disconnect the wiring harness.
5. Remove the ignition coils..
6. Remove the spark plugs..
7. Remove the ventilation hose.
8. Remove the oil level gauge.
9. Remove the cylinder ...
Map Light Inspection
1. Disconnect the negative battery cable..
2. Remove the map light..
3. Verify that the continuity between the map light terminals is as indicated
in the table.
If not as indicated in the table, inspect the bulb. If there is no malfunction,
replace the map light.
4. ...
System
The system operates only when the driver
is in the vehicle or within operational
range while the key is being carried.
NOTE
When the battery power is low, or in
places where there are high-intensity radio
waves or noise, the operational range
may become narrower or the system may
not operate ...