To prevent someone from entering a place or being included in a group.
"Several low-income families have been effectively shut out of the housing market."
We will not go back to the days when our doors were shut to immigrants seeking opportunity.
— Barack Obama, immigration speech (2014)