Ah, I hadn't grasped your irony. I heard it suggested somewhat seriously recently, which miffed me a bit. Lockdowns were probably the least awful option in early 2020, but as you know it doesn't make them a great idea now.
My understanding is that parent was not joking. It's a great thought experiment though, and let's not forget that humanity did eradicate a number of diseases.