I know China is amazing a manufacturing anything at scale but I can only imagine having the wide deployment of something like chain linked fencing available instead of large barriers.
Did they have a stock of them ready?
One thing that struck me in living and traveling in China was the number of emergency supply caches. There are signs pointing them out in parks, metro stations and many other public spaces. In my head I always imagined those store rooms and bunkers to contain things like potable water, blankets, sandbags and so on, but perhaps that's also where they store the barriers and truncheons?
Either way, if there's one thing the Chinese government historically does well, it's the logistics behind controlling the movement of over a billion people. That's why the current situation in Shanghai is such an embarrassment - the one thing that everyone trusts the government to be able to do well is failing. I expect they'll get on top of it sooner or later, same as they did in Wuhan 2020, and then the narrative will change, but for now people are feeling pretty upset.
https://www.ifpri.org/blog/lockdowns-are-protecting-chinas-r...
You may not be locked inside your house but you can still be locked in your village, which may not have food either.
I don't see a major difference between nothing entering or leaving an apartment compared to entering or leaving the village / suburb.
Both will run out of food in a similar time span.