Meaning : Prevent from entering. Shut out.
Example :
The trees were shutting out all sunlight.
This policy excludes people who have a criminal record from entering the country.
Meaning : Not open.
Example :
The door slammed shut.
Affording unobstructed entrance and exit. Not shut or closed.
An open door.