I am 99% sure it is because you have bad collision settings. Your block collision is probably too simple and covering the whole doorway.
Have the collison move with the door
Or
Disable collision on door after you press that key but then player can move through door.