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 ModeSeat Weight Sensor Calibration [Two Step Deployment Control System]
CAUTION:
If any of the following work is performed, perform the seat weight sensor
calibration using the M-MDS.
Replacement with a new seat weight sensor
Replacement with a new seat weight sensor control module
Replacement with new passenger-side seat pa ...
Boost Air Temperature Sensor Inspection [Mzr 2.3 Disi Turbo]
Resistance Inspection
NOTE:
Because the boost air temperature sensor is integrated in the MAP sensor,
replacing the boost air temperature sensor includes replacement of the MAP sensor/boost
air temperature sensor.
1. Remove the battery cover..
2. Disconnect the negative batter ...
Roof Molding Removal
1. Insert a fastener remover in the position shown in the figure.
2. Rotate the flathead screwdriver in the direction of the arrow (1) shown in
the figure and remove the roof molding from the T-stud (figure A).
3. Rotate the roof molding in the direction of the arrow (2) shown in the figure,
...