As nouns the difference between law and commandments is that law is (lb) the body of rules and standards issued by a government, or to be applied by courts and similar authorities or law can be (obsolete) a tumulus of stones while commandments is .
As an interjection law is (dated) an exclamation of mild surprise; lawks.