to refuse to be friendly with sb; to not let sb be friendly towards you
Oxford100% of films
to refuse to be friendly with sb; to not let sb be friendly towards you
I've pushed people away, kept them at a distance
I kept her at a distance and I would never give her a chance.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition