What you describe is what we here in the US call house arrest.Here in the Philippines confinement at home is mandatory. Here in Manila a quarantine pass is required for one household member only to go out for essentials - food, medicine/doctor/hospital, banks.
We do that to criminals…not law abiding citizens.