There are massive costs associated with lockdowns, most of which we can probably only judge accurately once everything is over, and certainly there are second order effects which cost lives also. Such as suicides due to depression amplified by social isolation.
Those costs should be factored in. It's not as simple as a blanket "people are dying so everything is justified".