Not much info to go on but make sure the shift selector is all the way in park.
If the battery is dead it will not allow the key to return to locked position. Thus trapping you key in the ignition.
check to make sure there isn't a lock accessory hidden around the steering wheel. some cars have a button that has to be pressed to be able to set the key to the lock position. sometimes, it is on top, sometimes on the underneath. then, the key should come out.
The key is worn out , u need to try pulling out w/pliers ,use a newer key
You require to have two sets of keys for programming. Insert key into ignition, turn key to position one (if you start the car you went too far...lol). Insert the key to be programmed in the door lock. Twist the key to lock position. Holding the key in lock position press the lock button on the key you will see the side marker flash once; click the lock button again the side marker will flash again, repeat one more time and voila you key is programmed. Before you test the key remove key from ignition and manually lock the door with the programmed key.
Ignition switch lock cylinder
The lock is made first and then a key which will move all the levers/pins into the correct position. http://www.precisionlocksmiths.uk.com
try tuning your wheel back and forth they get stuck in lock position
Sometimes you have to shimmy the steering wheel back and forth while trying to put the ignition to lock position. Many vehicles do this.
The master key may not turn the lock from the horizontal position due to misalignment or internal issues within the lock mechanism. Dirt, debris, or worn components can hinder the key's movement. Additionally, if the lock is designed to only accept the master key in a specific orientation, attempting to turn it incorrectly may prevent it from functioning properly. Lastly, the key itself might be damaged, affecting its ability to engage the lock.
OPTION A: put key in ignition, it MUST BE IN RUN POSITION, (i know you said wont turn, but this is how it has to be) locate the stake pin under the column (directly under the ignition lock, sometimes there is even a hole all the way through the plastic to the stake pin and no disassembly required), (its a little hole) put a paper clip or scribe in there until you feel the spring tension, wiggle the lock mechanism out. on that model you have to build the lock to fit the key tumblers BECAUSE OF THE MICROCHIP in the key, DO THIS FIRST. place the lock back in, you will hear a click (again must be in run position)OPTION B: if you cant get it into the run position, you HAVE TO DRILL THE LOCK OUT. OR DISASSEMBLE THE ENTIRE IGNITION AND DRILL THE STAKE PIN IN THE BOTTON OF THE LOCK. again, the lock MUST be in run position to remove the lock mechanism.good luck, its a nightmare, done several of them.
the steering wheel will lock and the key will come out, unless of course the ignition cylinder is broken
If the boot, or trunk cannot be locked with the key on a United Kingdom 1999 Passat 1.9 TDI, the lock might have rusted. Spray the lock with a lubricant such as WD-40 or any bolt loosening agent. There might also be something caught in the lock from the inside.