There are no perfect answers, but there are best practices. In the non-spin version of what one of the WHO spokespersons actually said recently regarding lockdowns, he said that temporary lockdowns should be used to buy time to establish robust local systems to test, contact trace, isolate, and treat those infected. This is what South Korea did to minimize the impact of the virus very early in the outbreak.