The ignition key is sticking.
The ignition key can get stuck in the ignition for a number of reasons. It can be a problem with the shifter not going all of the way into park, but most of the time it is caused by a worn out key or an ignition key cylinder that is failing. If the key is fairly worn out, then try another key to see if it is better. If that does not help then I usually use some lubricant on the key and insert it into the ignition to see if it loosens up the teeth in the cylinder. If that also does not help then the lock cylinder needs to be replaced. If you are looking to have this repaired, consider YourMachanic, as a certified mechanic can come to your home or office to inspect your ignition and make any of the repairs that are needed.
Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing