I'm not sure that this is really the correct comparison if we are talking appropriate lockdown strategies. You need to compare your odds of dying if you lock down vs the odds of dying if you don't and then take into account the cost of locking down over some period of time.
The terrorist angle is also somewhat off because there'd be lots of blood and gore; covid-19 just takes life away, bloodlessly.
To make this analogy closer to one where there are enormous costs associated with containment, think of the terrorists as being particularly wily and elusive; even the most authoritarian of states, armed with AI and mass surveillance, can't even identify them much less catch them. And they strike at random, wherever there are large gatherings of people: workplaces, houses of worship, sports stadia, even big restaurants.
Perhaps a different analogy?
Some mysterious mechanical fault causes one in every 300 plane, passenger train, ferry, and bus^ to go boom! Killing everyone on board. Until the cause is found, you betcha all planes would be grounded (except for cargo flights), all ferries stopped, etc. Massive economic disruption, but as cargo planes and long distance trucks are unaffected, we can all still eat wagyu beef from Japan.
Unless we find a vaccine/cure isn't the total number of people who eventually get infected and either die or don't going to be somewhat similar regardless of the scenario?
Hmm, almost but not quite.
The details matter of course, but if you can remain isolated long enough, the virus will stop spreading (almost); this is herd immunity. You're then safe to join everyone else. But there are a lot of unknowns: does infection confer immunity? For how long? For everyone?
Turn the contrast waaaaaaay up:
- in one scenario, expose everyone 65+ and no one else; lots of dead oldies but the rest can get back to partying very soon
- in another, expose everyone under 65 and no one else; a few dead whippernappers but no oldies and almost everyone can get back to partying soon (not quite as fast as in scenario one)
ETA: Giordano said it better, for a global perspective. My post is, I think, relevant to the US though (sadly).
^
the analogy goes further: if you're old, you ride trains; if young, buses. Sorta.