Does your moving/rotating door use c_move / c_rotate? Cause it should.
Then the door can stop if it hits the player, or push him back. Your choice.
Your player is most likely getting stuck cause the door moves to a point
where player is (partially) "inside" it, cause the dor isnt checking,
And so players c_move registers as a hit when he tries to move 'back' through
it, and so he cant.