It just seems like illogical craziness to me. A supermarket checkout queue was always regarded -by me at least -as the prime opportunity to catch any bug going.
Yup, supermarkets are bad in that respect.
One strategy to make it a little safer is to buy as much as you can. Would you be able and willing to buy in advance for one week? Two weeks? I have prepared myself in advance and I have a large freezer so I have one month's worth of foods stored. Possibly even more.
I also bought myself a real gas mask, so the only possibility for me to catch coronavirus is through eyes or hands (I use hand sanitizer after leaving the supermarket).
So, that's another important issue: using hand sanitizer after you leave the supermarket.
Also, shops here allow only the elderly to enter (there are special hours allotted for them). I don't know if you qualify but it's just an idea.
If I could eat pancakes, I'd surely eat them for 2 weeks (I had such a long run in the past when I was a teenager) but unfortunately I developed gluten deficiency so it's out of the question... Bummer...
And you can buy a lot of flour in advance...
EDIT: yeah, but eating only pancakes (though with many additions) is not very good for you. Mineral and vitamin deficiencies are inevitable. When I was younger I never felt any such deficiency but now... I can literally feel when something is deficient though most of the time I don't know what it is until I find out.
Last time (just a few days ago) it was folic acid - even though I ingest a lot of green vegetables. So, there is a lot of caveats in everything you do...
EDIT 2: It may seem that I brag about being so prepared. Yeah, I did quite OK this time, I'd usually just lie down (because of the severity of the symptoms) and wonder (because I wasn't able to do it earlier) - will I be able to survive without any countermeasures.
But the point here is that you should still get prepared if you can. You should still get more food if you can. Because the situation will get much much worse. Even if the shops are not closed, there will be more people contagious walking around so it'd be better not to go to any store at all.
As a sidenote. I did not prepare myself financially as well as I could have. I wasn't able to predict how the situation develops. It was too difficult for me to think (brain fog) but also the way the situation developed was quite surprising. I thought that this virus would never reach Europe or cause too many problems. Just as it was with SARS or MERS. I know, the situation was tough in other parts of the world but here we didn't have any problems at all. And no countermeasures were implemented then. And now this happens... Dang, what a ridiculous surprise. Now, all I do is to think what to do next... how to stay afloat... actually... nothing new for me...