All of the trash here in Juneau (and in many parts of Alaska, but not Bethel), is locked up securely to prevent the bears from coming into the populated areas. It is an effort to keep the people and bears separately. The trash cans above are found all around the city. There is a little lever under the handle that you lift to open the trash can. There is also a chain that prevents the lid from opening much farther than about 6 inches.
Here in the dorms, I spent awhile trying to figure out where to take my trash. Then I finally figured out that these little shed looking building actually had dumpsters in them. They are locked up like a fort with multiple levers, latches, and locks to keep the bear out.
Speaking of bears...I have found myself having conversations with nonexistant bears these last few weeks. There are bears that live in the area and the trail from the dorms to the campus runs right through the woods. So, the few times that I've found myself walking down the trail alone, without someone to talk to, I've just talked to the bears instead. It is safe practice to make noise while you are walking through bear country so that they know you're there and will run away.