That's the theory, but it has proved pretty ineffective in practice. Nurses don't live onsite, so there is no actual way to seal the residents off from the outside world. Once it gets in you're no better off than had there not been a lockdown in place.