Same with one of my friends in Shanghai, she's an American who's been living there for the last 7 years as (I think) a financial accountant for a University. She keeps in touch with me and a few others on Skype and what few posts she does on FB. Thankfully she's healthy but from what shes told me it pretty much mirrors what Garlic said about how they did lock down there too. (except for the permit thing but I'm sure it would be the same there). Also had constant delivery of groceries sent to her, worked from home and all that.
They started with re opening a few eateries and cafes, then the marketplace (with masks always and guards doing random tempurature checks). And now she's finally able to go back to her jujitsu classes since they opened that back up.
Also I recommend stocking up on beef and pork before the price starts going up soon. More processing facilities are either shutting down or reducing their staff/hours from risk of contamination so there 's already a shortage of meat to grocers hitting.