Im going to guess its the same thing as mine(almost positive it is). Ive heard a ton of pontiacs have this problem with the floor shifter.
Next time it happens, turn the key to run and try pushing the button deal on the shifter repeatedly, and listen for a click. If you dont hear anything after a bit, try tapping the brakes. Keep playing with the button untill you hear that click. Then it is ok for that damn key to come out.
Also, to save your self the hassle, try this. As youre about to put the car into park, be listening for that click. Put in the brake, push the button, put it into park, and SLOWLY release that button. It should click and youre free to go! The key is to go slow and let that click happen, whatever the hell it is.
Good luck I believe that should solve it!
Thursday, June 20th, 2019 AT 4:50 PM (Merged)