A teacher with good a good class relationship can have classes working hard even throughout the most tedious fifty minutes. That said, a badly planned lesson will have a detrimental effect on behaviour.  These are three strategies for making the structure and content of your lessons as behaviour-friendly as possible:

Behaviour: Top tips for planning lessons around behaviour management – Resources – TES.