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 ModeInitial Learning [Fw6 A EL]
Introduction
If the control valve body and oil pressure switch are replaced, always perform
the initial learning. If the initial learning is not completed, engine rev-up
may occur or shift shock may increase. DTC P06B8:00 is displayed while the initial
learning has not been implement ...
Side Turn Light Inspection
Side turn light illumination inspection
1. Disconnect the negative battery cable..
2. Remove the outer mirror glass..
3. Remove the outer mirror garnish..
4. Remove the side turn light..
5. Connect the battery voltage as shown in the figure.
If the side turn light does illuminat ...
Drive Belt Auto Tensioner Inspection [Mzr 2.3 Disi Turbo]
1. Remove the aerodynamic under cover No.2 and splash shield as a single unit..
2. Remove the drive belt..
3. Verify that the drive belt auto tensioner moves smoothly in the operational
direction.
Replace the drive belt auto tensioner if necessary..
4. Rotate the drive belt ...