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 ModeTransaxle Fluid Temperature (Tft) Sensor Removal/Installation [FS5 A EL]
WARNING:
A hot transaxle and ATF can cause severe burns. Turn off the engine and wait
until they are cool.
1. Remove the primary control valve body.
a. Remove the battery cover..
b. Disconnect the negative battery cable.
c. Remove the aerodynamic under cover NO.2..
d. Clean ...
Starter Interlock Switch Removal/Installation [C66 M R]
1. Remove the battery cover..
2. Disconnect the negative battery cable..
3. Disconnect the starter interlock switch connector.
4. Remove the starter interlock switch from the pedal bracket.
5. Insert a new starter interlock switch into the pedal bracket hole in the direction
indicated ...
Warning lights and indicators
The Subaru Solterra is equipped with a comprehensive set of warning
lights and indicators located on the instrument cluster and exterior mirrors, designed
to clearly communicate the current condition and operational status of various vehicle
systems to the driver in real time.
Warning lights ...