The problem is almost certainly a sticky lock (Which won't help with the current weather conditions), what is happening is it's trying to lock the other door but it can't so the opposing door reverts to the state it was in before.
Lubricating the lock should solve this problem, while your there do all hinges and other locks as well.
Martin