fence in

[fence in] or [hedge in] or [hem in] {v.} To keep (someone) fromdoing what he or she would like to do. Usually used in the passive.

Mary felt fenced in because her father would not let her drive a caror have dates with boys.

John didn't like his job because he hadto do the same kind of work all the time. He felt that he was hemmedin.