Open door and try lock.
If locks works perfectly, then you have not packed door correctly and need to do this.
Sometimes there may be a small snip that is pushed it when the door is closed. If you have one of these you would need to push in before trying to lock the door in the open position.
Thanks Cavan
Cavan Welsh Window Systems, August 2009