It sounds like your latch broke. This is a known issue with some of the Trimark latches.
You should be able to remove the screws on the inside of the latch and push it out of the door to get out, but you'll need to replace the latch if it is indeed broken.
__________________
|