Normally, LilyPond refuses to automatically break a line at places where a beam crosses a bar line. This behavior can be changed by setting the Beam.breakable property to #t.
This property does not affect manual breaks inserted with commands like \break.