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 : Lack or fail to include.
Example :
The cost for the trip excludes food and beverages.