> The population never really had the freedom to run around and spread diseases harming people.
I don't know what you mean exactly. People have generally enjoyed the freedom to roam without being subject to liability or investigation as to whether they might be spreading an illness. Flying or going to the grocery store with a bad cough and a fever was considered poor etiquette but not a matter for legal sanction. The worst that would happen was not being allowed to send your kids to public school.
From e.g.: https://www.healthaffairs.org/do/10.1377/hblog20200508.76910... on the 1918 pandemic (article is from May 2020)
"Most famously, San Francisco, California, along with other Western cities such as Seattle, Washington, Juneau, Alaska, and Phoenix, Arizona, passed laws requiring masks in public. Violators could be ticketed, fined, and imprisoned."
You'll find a few instances of people being fined for measles-related stuff: https://abcnews.go.com/Health/york-city-issues-fines-1000-pe...
https://www.jsonline.com/story/communities/west/news/brookfi...
If you search for quarantine break-related laws, you'll e.g. find this 2005 CA law: https://laws-lois.justice.gc.ca/eng/acts/q-1.1/page-7.html
This Australian law on grievous bodily harm contains, "does any act that is likely to result in a person having a serious disease": https://www.slp.wa.gov.au/statutes/swans.nsf/650321a87e813bb...
Thus I think it's okay to tell people that they didn't have this freedom they apparently believed they had.
Edit: Though it seems it's legal sometimes to force people to vaccinate: https://khn.org/morning-breakout/a-court-case-from-the-early...
The population never really had the freedom to run around and spread diseases harming people.