There's not enough for everyone to forage, passing laws allowing everyone to forage would be like a swarm of locusts that the environment might no bounce back from. Wild animals can't just go to Aldi's if hipsters "foraged" all the food.
These days you can't really trust foraged food due to all the pollution
In 17th- to 20th-century England, the Lockeian idea that property should be made and held by the highest-value creators formed the justification for enclosure of the commons.
Thats not a lockeian idea. Locke was quite clear that private property was unjustifiable when there wasn't as much and as good available for everyone else.