Shanghai canceled 30% of flights from two major airports and stopped outpatient services at 20 hospitals after three COVID-19 cases were identified in the city.