step out of line

US /stɛp aʊt əv laɪn/
UK /stɛp aʊt əv laɪn/
"step out of line" picture
1.

to behave badly or break the rules

:
If you step out of line, you'll be punished.
The teacher warned the students not to step out of line during the field trip.