How would someone go about accomplishing this goal?
Open stuck lock door.
Fill key hole with lead from pencil, then insert key.