In short: yes, some urban trash bins do come with locks or other restrictive designs, but it’s not universal. It really depends on the city, the type of bin, and what it’s used for.
Street litter bins in busy public areas often don’t have traditional padlocks. Instead, they may use narrow openings, hoods, weighted flaps, or secured inner liners to make rummaging harder while still letting people throw away waste quickly. Commercial dumpsters are more likely to have locks, mainly to prevent illegal dumping, contamination, and scavenging. Some residential wheelie bins also have lockable lids or gravity locks, especially in areas where people are worried about waste being pulled out or bins being used improperly.
The reason is practical as well as hygienic. Locks and restricted openings can reduce litter, discourage people from climbing into bins, protect workers, and keep animals out. But there are trade-offs. If a public waste bin is too hard to use, people may leave trash beside it. Locks can also create problems for maintenance crews or for people who rely on collecting redeemable containers.
So, do urban trash bins come with locks to keep people from rummaging? Sometimes, yes—especially locked trash bins used for commercial or secure waste—but many public waste bins rely more on restrictive openings than actual bin locks. If rummaging is a problem in your area, the best step is to ask your local council or sanitation department what rules and bin designs they use, rather than adding an unauthorized lock yourself.