Great, code logic error from me uhh... Don't use the door lock if you are in a cooperative game since it'll keep bouncing packets leaving the door always locked.
Plus it may lag the game too depending on the amount of players.