Easily cured with a large flat blade screwdriver.And once you get the handle off, make sure you don't allow the door to close.... Especially if the handle is off on both sides, cos if you push the square rod through and it drops out the other side, you have a problem...
It happened to me. I got locked in the bedroom when the doorknob fell off and the connecting bar fell out and unfortunately my wife was away at the time.
I got out with the help of a coathanger.

;}