If you could just lock everybody in the world for a month you could basically get rid of all the infectious diseases. However you can't. So lock down only helps to win time.
After you win your time you really need to know what to do with it - e.g. effective vaccine is created in this time.
Otherwise you just delay inevitable and that is it.
It's your fault for not following orders, not our fault.
So if I understand correctly NZ had a short hard lockdown to reduce cases to zero and then maintained it by severely restricting and controlling arrivals from abroad. I live in a Central European country that simply cannot seal itself off from the world like NZ did, we have open borders within the EU via Schengen (a good thing IMO) but there's very little chance of every country in the Schengen area agreeing to follow this model. This means virus carriers would inevitably enter the country, cause an outbreak of cases, necessitating repeated lockdowns and the public would quickly rebel against the measures.
When we tried the same thing a second time it didn't work, but that was due to people not following the rules.