Wiktionary
break a law
vb. (context idiomatic English) To violate a law.
Usage examples of "break a law".
It's much safer to break a law knowingly than to do so through ignorance.
You are free to come and go as long as you dont break a law, or as long as Guy doesnt order you tossed out, or hung, or whatever.
If I break a law I expect to be jailed for it unless I can explain why.