I believe the answer is: A. bad habit
Example of laws to restraint bad habit is the law to regulate the sales of cigarate. Even though the consumption of this product is not necessarily illegal, it is still restrained by disallowing the consumption in certain places and by requiring the sellers to put gruesome image on cigarette pack.