If the selector lever will not move from P using the proper shift procedure, continue to hold down the brake pedal.
1. Remove the shift-lock override cover using a cloth-wrapped flat head screwdriver.
2. Insert a screwdriver and push it down.

3. Press and hold the lock-release button.
4. Move the selector lever.
Take the vehicle to an Authorized Mazda Dealer to have the system checked.
Shift-Lock System
Transaxle RangesMazda 6 Owners Manual: Immobilizer System
The immobilizer system allows the engine to start only with a key the system
recognizes.
If someone attempts to start the engine with an unrecognized key, the engine
will not start, thereby helping to prevent vehicle theft.
If you have a problem with the immobilizer system or the key, consult ...
Mazda 6 Owners Manual: Troubleshooting procedure
Basic flow of troubleshooting
DTC troubleshooting flow (on-board diagnostic)
Diagnostic trouble codes (DTCs) are important hints for repairing
malfunctions that are difficult to simulate.
Perform the specific DTC diagnostic inspection to quickly and accurately
diagnose the malfunction.
The ...