Battling its biggest COVID surge in two years, Shanghai has instituted rigorous lockdowns — again — that are frustrating residents.