key stuck in ignition and stuck in park on 2006 Chevrolet Aveo

just recently we have had to use the shift lock to get the aveo out of park. now the key is sticking in the acc mode. i have disconnected the battery to see what would happen and the key came out. is this an ignition switch problem?
thanx
mark

2 answers
Check your fuse box under the hood. my instrument panel lights went out recently because of corrosion in the fuse box and the SAME thing happened to me with my key and the dealer told me it was a safety feature and the fuse box needs to be replaced.
if automatic pull shifter toward driver it will enable the key to be removed