Do you have a source for that? It's been a while since I've looked at Covid numbers, so the only research I know off the top of my head that claims there was no effect is a meta-analysis by some economists, which originally claimed lockdowns only prevented 0.2% of deaths. After criticism, they had to re-evaluate their approach and arrived at 3.2%. However, not all objections were addressed, so who knows if there isn't another order of magnitude hiding somewhere.
Personally, I've been leaning towards lockdowns having the potential to be effective based on excess mortality in the nordics: Sweden was the only nordic country that did not lock down in March 2020, and it's also the only one of these countries that saw significant excess mortality in April 2020. There could of course be another reason for that, but until someone offers such, the lockdowns seem to be the obvious factor...