Not all countries have lockdowns to the same degree, yet they all have discrepancies between excess deaths and official covid deaths.
Clearly, not all excess deaths are covid deaths though, a minority of them are certainly related but not directly caused by it.