I think things like knives, and spray cans that can be quite dangerous when misused need to be stored safely.
Baseball bats, well, you'd just get those from a sports store.
Hammers, a hardware store.
This happened in a supermarket. I'd expect a supermarket not to have knives right out in the open and spray cans out of reach. Some do sell cigarettes but from behind the checkout counter and it's locked and you have to ask for them.
I think just like anything, you'd child proof and burglar proof and make everything as safe as possible in a public space. For some reason the Countdown supermarkets are always getting hit with violent offenders. Maybe it's because they are Australian owned and were the last to ban plastic bags, when the Pak N'Save had not been using them at all ever since they started. If you bought something from Pak nSave, you just used your own bags or boxes or carried it yourself. They didn't have ten zillion plastic bags given to everyone everytime someone shopped there.
Plus all those plastic bags wold have suffocated someone...if not the fish in the sea.