Definition
To behave in a manner that is considered inappropriate, unacceptable, or beyond the bounds of what is expected or permitted.
As a team leader, you cannot step out of line; you must lead by example.
It's best not to step out of line at such a formal event, or you'll draw unnecessary attention.
She warned her children that if they stepped out of line at their grandparents’ house, there would be serious consequences.