The lockdowns have caused many people to stay inside, and out of the sun. Being exposed to the sun allows people to get Vitamin D naturally. There have been links between a lack of Vitamin D and higher rates of Covid deaths found in studies.
I would conclude this to mean the closings of parks and beaches actually increased covid related deaths.