contravene
🇺🇸
/ˌkɑːntrəˈviːn/
🇬🇧
/ˌkɒntrəˈviːn/
to go against a law or rule
Using a phone while driving not only puts you at risk but also contravenes traffic laws.