Hem (someone or something) in hem in (someone or something)

To trap or enclose someone or something.

We went to the football game but we felt hemmed in by all of the people.