On July 5, Shanghai suddenly announced a lockdown without warning while Xi’an city, Shaanxi province, imposed a temporary lockdown for seven days.