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: Operation
NOTE
The engine may not start and security indicator light may illuminate
or flash if the key is placed in an area where it is difficult for the system
to detect the signal, such as on the dashboard or in the glove compartment.
Move the key to a location within the signal range, switch ...
Mazda 6 Owners Manual: Dtc c1095, c1096
Caution
When attaching the tester lead to the ABS (ABS/TCS) HU/CM harnesses
connector the SST (49 G066 001) must be used. (See ABS (ABS/TCS) HU/CM
INSPECTION.)
Diagnostic procedure
...