Some Shanghai residents were let out of their homes after weeks of lockdown.