That's an excellent and practical question! The answer really depends on the specific trash bin model and brand you purchase.
Most standard, basic outdoor trash bins you find at big-box stores do not come with a built-in lock. The locking mechanism is typically considered an added security feature and is often sold as an optional accessory or a separate component. You might need to purchase a compatible lock, a bungee cord with hooks, or a specialized lid latch separately to secure your bin.
However, many higher-end or specialty "animal-proof" and "bear-resistant" trash cans are designed with integrated locking systems. These premium models are built for security from the ground up and include robust latches, lockable lids, or even combination locks as part of their standard design. The product description will usually prominently advertise this feature.
My recommendation? Always check the product specifications and "What's Included" section carefully before buying. If security is a priority, look for bins explicitly marketed as "locking," "secure," or "wildlife-resistant." Investing in a model with a built-in system is often more durable and convenient than trying to retrofit a standard bin. For bins you already own, a sturdy separate lock or a heavy-duty strap is a simple and effective solution to keep pests out and your neighborhood tidy.