SHANGHAI - Shanghai will lift its two-month-long lockdown from midnight on Wednesday, the municipal government said Monday, allowing most of the city's citizens to leave home and ensuring public transportation such as buses and trains resume basic operations.