Let me cut you short quicky.
There are no scenarios where you can violate individual rights on the basis of a collective, or to frame it better, there are no scenarios that specifically need collective rights because individual rights are insufficient to protect people's freedom.
Philosophically, this is commutarianism vs individualism.
Good debate on it here:
If you want to fame it correctly, you can limit individual rights when they violate someone else's individual rights. But you can only do this if there is no other way to resolve the issue. This is broadly what is written down in SA's constitution in section 36.
This is a good part of SA's constitution and I think it is the legal principle that most courts use in most cases to resolve conflicts of rights.
So topic at hand: when it is ok to force someone to wear a mask and when it is not.
If I am out running in the fresh air and I can keep away from people (which when I run, happens naturally because I end up sweating and smelling like a pig), I am not violating anyone else's right to life as the chances of someone else catching the Kung flu from me is very low. So forcing someone to wear a mask in this scenario is unreasonable. Also people can voluntarily choose to go to the beach as it is a leisure activity. If someone feels that they are vulnerable to coronachan, they don't have to go there.
That is different to lets say in a supermarket, where there isn't fresh air, keeping a good distance isn't possible, and people kinda have to go to there to get supplies. In that scenareo, given there isn't really much other option, wearing a mask can be a regulation. But you are now also interfering with how the supermarket does its business.
This is where the " less restrictive means to achieve the purpose" comes into play. Simply asking a shop to do this can achieve the purpose in a much restrictive way. Since most people are statists and do whatever the government says they must do, the vast majority of shops will enforce a mask policy.
To use a less controversial topic: speeding.
This might be uncomfortable for you, but there is an acceptable rate of traffic fatalities.
How do I make this claim?
If you limited the speed of every vehicle to 40km/h, you would would dramatically reduce the amount of people who die and get seriously injured from car accidents. Insurance claims would also be a lot less as you would have to be a special person to total a car at 40km/h.
So why isn't this law?
Because of a few things:
1) Enforcing the limitation will be highly difficult as people generally want to go faster than 40km/h.
2) There is an economic cost to enforcing such an imposing thing, both directly in terms of the amount of enforcement and indirectly in terms of the hours of productivity that is lost driving at 40km/h.
3) Turning everyone into a criminal makes it easer for people to break more laws. (broken windows).
Stupid people (eg the South African government), do not look at secondary effects of policy. They only look at the effect right in front of them and don't think about what the broader impacts of said policy will be.