Well, it has worked amazingly well for the last 2 years in China. It's been a CoVID-free bubble in which life has been close to normal for the vast majority of the time, for the vast majority of the people.
A lot of people commenting here are going on the basis of their experiences in countries that had on-again, off-again lockdowns, but in which the virus was largely allowed to spread. Yes, if you do a partial lockdown during the peak of a surge, and then start reopening once the surge starts to subside, you'll never eliminate the virus.
China's strategy has been completely different. It locked down hard in early 2020, and completely eliminated the virus within its borders. It then shifted attention towards stopping the virus from getting back into the country, by requiring international arrivals to quarantine. It also built up extremely good contact tracing systems, to identify and contain new outbreaks before they could spread widely.
That has worked remarkably well for over 2 years now. This is the first time that Shanghai has had to lock down since early 2020.
So yes, it's obvious that the overall strategy that China has followed is effective, and it does involve lockdowns, along with other measures like border quarantine and contact-tracing apps. This isn't a tautology. It's just an observation: there's a strategy that a massive country followed, which obviously worked.