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 ModeJoint Shaft Removal/Installation [Skyactiv G 2.0]
CAUTION:
Performing the following procedures without first removing the ABS wheel-speed
sensor may possibly cause an open circuit in the wiring harness if it is pulled
by mistake. Before performing the following procedures, remove the ABS wheel-speed
sensor connector (axle side) and ...
Rear Window Glass Installation
WARNING:
Using a utility knife with bare hands can cause injury. Always wear gloves
when using a utility knife.
CAUTION:
Proper installation of the glass may be difficult if sealant is cracked or
the glass is pushed out by air pressure when a door is opened/closed with al ...
Maintenance Monitor (Type B audio)
Select the icon on the
home screen to display the “Applications” screen.
Select “Maintenance” to display the maintenance list screen.
Switch the tab and select the setting item you want to change.
You can customize settings in the setup display as follows:
...