This is a loaded question. It assumes that laws and individual freedoms are inherently contradictory, which I am firmly convicted is false, though I do not subscribe to the definition of the world "law" most people do. A Law is not something a government creates out of thin air on any given day. No. Government is not a deity, or an enlightened institution, or in any sense wise or capable of making basic judgements. A Law, rather, is something that exists before human beings ever create governments – God made the true laws, in a system the Founders called the Natural Law.
U… Read morender this Natural Law, all individuals from the point of conception are indeed with certain inalienable rights, among which are life, liberty, and property. But each right comes with an obligation to respect the rights of others. You have a right to life that comes with a duty or obligation not to murder, threaten, or imperil the lives of your fellowmen. You have a right to liberty that comes with a duty not to enslave or rule another without his consent. You have a right to property that comes with a duty not to steal, vandalise, regulate, reduce, or damage the property of another human being. This is known as the Natural Law. Human nature being the black and depraved thing it is, however, men cannot be left to their own devices. The Natural Law must be enforced somehow. So Human beings created Government, an inherently evil institution that is lamentably necessary, to act as the enforcement arm of God's preexisting laws in order to secure the natural rights of its citizens. Beyond this it may do nothing. Say it votes to control education. NOT A LAW. Say it votes to flush 100 billion down the toilet in Ukraine. NOT A LAW. Say it votes to do anything whose purpose is not to protect the natural rights of its citizens? NOT A LAW!
Most of the edicts of governments are not real laws because they (of course and of necessity) have the power holders' interests at heart, not the interests of preserving the natural rights of the community.