I had this problem.
For emergency situations, I installed a pushbutton switch, which can temporarily bypass the PO30P06P P-Channel MOSFET source to the drain.
Here's the datasheet
https://pdf1.alldatasheet.com/datasheet-pdf/view/1227854/VBSEMI/30P06.html
So I soldered the wire to the tab, which also connects to pin 2 (DRAIN) and to pin3 which is the SOURCE.
What this does is energise the solenoid which retracts the actuator pin which locks the gear selector in place.
I just hid the pushbutton switch behind the little trip panel close to the parking brake switch.