How do you get a broken key out of a door without tools?

It is possible to remove a broken key from a door lock without the use of specialized tools, but it can be a challenging and time-consuming process.