Door lock frozen

First open the door and use a 3/8 extension or the like to substatute the post and operate the latch and try the lock. If it works you'll know the door isn't closing properly. If that latch doesn't go all the way to it positions the lock mechanism wont work.