If the selector lever will not move from P using the proper shift procedure, continue to hold down the brake pedal.
1. Remove the shift-lock override cover using a cloth-wrapped flat head screwdriver.
2. Insert a screwdriver and push it down.

3. Press and hold the lock-release button.
4. Move the selector lever.
Take the vehicle to an Authorized Mazda Dealer to have the system checked.
Shift-Lock System
Transaxle RangesMazda 6 Owners Manual: Registering Your Vehicle in A Foreign Country (Except United States and Canada)
Registering your vehicle in a foreign country may be problematic depending on
whether it meets the specific emission and safety standards of the country in which
the vehicle will be driven. Consequently, your vehicle may require modifications
at personal expense in order to meet the regulation ...
Mazda 6 Owners Manual: Operational Range
The system operates only when the driver is in the vehicle or within operational
range while the key is being carried.
Starting the Engine
NOTE
Starting the engine may be possible even if the key is outside of the
vehicle and extremely close to a door and window, however, always start the ...