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 ModeInformation Display Removal/Installation
CAUTION:
When replacing the information display, the configuration procedure must
be performed before removing the information display. The information display
will not operate normally if it is replaced without performing the configuration
procedure.
1. Perform the informatio ...
Precaution [Dynamic Stability Control (DSC)]
1. The ABS warning light and/or brake system warning light and/or DSC indicator
light and/or DSC OFF light illuminate even when the system is normal.
Warning lights that may illuminate and/or flash
Cases in which the light may illuminate
Conditions in ...
Oil Control Valve (OCV) Removal/Installation [Mzr 2.3 Disi Turbo]
1. Remove the battery cover..
2. Disconnect the negative battery cable..
3. Remove the charge air cooler..
4. Remove the ignition coils..
5. Disconnect the ventilation hose from the cylinder head cover..
6. Remove the cylinder head cover..
7. Remove in the order indicated in the table.
...