Some of those countries are "not sitting pretty right now" because they ended their lockdowns.
The answer is not "lockdowns don't really do any good." The answer is "don't prematurely end your lockdowns." Now that can be burdensome. You can do a middle ground (limited re-opening). That works too, but you have to be very careful and keep a close eye on case numbers and shut down totally as soon as cases ramp up. California tried to do that in the latest surge, but was a little late in implementing the newly stringent measures and even further So. Cal. "resisted" the newly stringent measures and are now suffering mightily.