Those procedures (tests, vaccinations) can be entirely voluntary (as they are right now).
However, then you could be facing a situation where not enough people get vaccinated or tested for curbing the spread of the virus.
Societies will have to decide if they’re fine with the consequences that entails.
Personally, I think that lockdowns and any other mandatory measures should be lifted once everyone’s vaccinated who wants to be vaccinated.
Others - and societies as a whole - might disagree, though, which from my point of view would be a major problem, especially if continued lockdowns then are still considered the only viable alternative.