observing traffic laws while driving in the highway is a form of accepting the social contract.
The social contract as expounded by John Locke entailed the people and government entering into a contract that the government would serve and act for the good of the people and people transferring some rights to the leviathan apart from natural rights.