Shanghai and other Chinese cities were put into full or partial lockdowns during the last three months.