China doesn't recognize human rights as we know them. The collective, represented by state interests (CCP), is above all. Hence any individual right can be sacrificed for the greater good. Aka state interests.
And that's why situations like this shutdown in Shanghai can unfold. It's a deeply philosophical problem that China hasn't resolved, despite ample opportunity to learn the lesson.