for some places it may make sense.
higher population density cities that are experiencing a lot of cases, limiting exposure is probably helpful.
less population dense spaces with few or no cases, probably not so helpful.
And here we have closed the beaches, even to solo walkers. Sunshine is the best medicine and the government is forcibly reducing access to it.