Question: what is it called when you want to keep someone away from you?
Answer: It sounds like what you would like is a restraining order, which is a type of an injunction prohibiting someone from going to certain places and/or near certain people.