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 ModeLiftgate Opener Switch Removal/Installation
1. Disconnect the negative battery cable..
2. Remove the following parts:
a. Liftgate upper trim.
b. Liftgate side trim.
c. Liftgate lower trim.
d. Liftgate latch and lock actuator.
3. Disconnect the connector.
4. Pull out the retainer in the direction of the arrow.
5. Remove the ...
Oil Pump Removal/Installation [Skyactiv G 2.0]
WARNING:
Hot engines and engine oil can cause severe burns. Turn off the engine and
wait until it and the engine oil have cooled.
A vehicle that is lifted but not securely supported on safety stands is dangerous.
It can slip or fall, causing death or serious injury. Never work ...
Recommended Oil
U.S.A., Canada, and Puerto Rico
Use SAE 0W-20 engine oil.
Mazda Genuine Oil is used in your
Mazda vehicle. Mazda Genuine 0W-20
Oil is required to achieve optimum fuel
economy.
For maintenance service, Mazda
recommends Mazda Genuine Parts and
Castrol ® (U.S.A. only).
Only use SAE 0W ...