|A swinging or sliding barrier that will close the entrance to a room or building or vehicle.|
He knocked on the door.
He slammed the door as he left.
|The entrance (the space in a wall) through which you enter or leave a room or building; the space that a door can close.|
He stuck his head in the doorway.