I have had a similar problem now and then.
The cure for me...

When in Park, and the key wont come out....
... give the shifter a good "nudge" forward..
.... without depressing the shift button.

This seems to properly engage the key release.

I hope it works for you too.

jo