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: Pcm removal/installation
Note
For replace the PCM, Setup the WDS and perform the PCM
configuration. (See PCM CONFIGURATION.)
1. Disconnect the negative battery cable.
2. For R.H.D, perform the following procedures.
(1) Remove the front side trim (left-side).
(2) Partially peel back the flower covering.
3 ...
Mazda 6 Owners Manual: Parking brake (lever type) removal/installation
1. Remove the center console. (See CONSOLE REMOVAL/INSTALLATION.)
2. Remove the rear seat cushion (4SD) or rear seat (5HB) . (See REAR SEAT
REMOVAL/
INSTALLATION.)
3. Remove the exhaust pipe bracket.
4. Remove in the order indicated in the table.
5. Install in the reverse order of removal.
6 ...