Definitions of bar
to keep out or prevent
He was barred from entering the UK due to his criminal record in the US.
to stop, prevent, defeat or delay an action by objecting to it
The board of directors attempted to bar publication of damaging statements made by the former chairman.