Usually the key is stuck in the lock. It is likely that the key is inserted in the wrong place. You can adjust the position, shake it up and down, and move it gently. Just don't push too hard. You can pull out the key.
2. Lubricant (pencil ink is the best)
If the key is used for a long time, the inside is rusted or the key is worn out after long-term use, it will be stuck when it is inserted. At this time, you can try some lubricant, such as pencil ink, or leather care agent that can be sprayed in at home to lubricate it, and then the key may come out.
3. The lock core is misplaced
Some people unlock the lock too hard, and the old key pokes the lock core hard, which causes the lock core to shift, so that when the key is inserted, it is easy for the owner to pull it out. Press the protruding part of the lock cylinder into it, then move the key with the other hand and try to pull it out.