If you feel that the measures to stop the spread of COVID-19 violate too many of people’s rights, then consider the following.
Many rights exist only by the grace of other people respecting them. This means that rights also create duties.
You observing measures can stop you from harming other people. That’s the duty you may have that translates into other people’s rights.