If a door opens towards you and you're too close, it can get you stuck behind the door and unable to get out if there is scenery next to the door. I can understand that being able to close doors might be a way to cheese the combat, but if so doors shouldn't open towards you near scenery that gets you stuck.
Never managed to make it happen so appreciate you getting it to do that. I'll probably drop a fix in the coming weeks.