Take the door off its hinges, using a screwdriver to push up on the pins.
Get a helper to hold onto the door while you’re working. If you prefer to leave the door in place, cover the handle and all hardware with 2-inch blue painter’s tape to avoid spatters.