preclude
The guard precludes the entrance of outsiders.
They planted trees to preclude flooding.
He precluded the man from entering.
verb 1
to prevent something or make something impossible