Definition
to succeed in stopping yourself from engaging in a particular action
Even though she wanted to have ice cream, she managed to keep from eating it.
He tried to keep from getting angry, knowing that it would only make things worse.
I tried to keep from checking my phone, wanting to focus on my work.