Find the word definition

Wiktionary
keep one's nose clean

vb. (context idiomatic English) To stay out of trouble, especially by avoiding unlawful behavior.