I read somewhere that some recent research indicates lockdowns and similar social controls don’t really prevent pandemics like we intuitively think. They have an effect - but not a massive one.
This does not lump in vaccination rate or similar proactive medical steps - just the social stuff like physical distancing.
I would assume this is due to many many factors that will take years to fully understand.