Shanghai has set a target to stop the spread of COVID-19 outside of quarantined areas by Wednesday, two people familiar with the matter said, which would allow the city to further ease its lockdown and start returning to normal life as public frustrations grow.