Keep (someone) in line To make someone behave properly. The teacher is very strict and she knows how to keep her students in line.