Lockdowns are the tool to prevent hospitals to become over crowded...
Quarantine the sick and those that came in contact with them is a another measure to prevent the spread, but it's not an effective one when the hospitals are going to be overcrowded or when the healthcare system is about to collapse.
Just look at what happened to Italy / New York.
This is actually pretty basic stuff, you should already know this after almost 2 years.