i just realize that if you put some door and dig all walls over it, the door still be there like a door fixed on nothing.
after a easy test. i could create a wall of doors, doing this. create door and dig side by side.
don`t know if this is a bug but with this a door can be easily used like a barricade. and it seems wrong.