What size dog and how old? I puppy proofed mine by teaching my puppy to stay away from them. Now he's taller than our tallest trash can and doesn't go near it no matter what's in it. If that's not possible then the ones that you have to step on to open the lid seem like they'd work pretty well.
I've found anything with a covered lid that has a foot pedal to open has been sufficient for my girl, plus some basic training. Shes not really allowed full access but she's never even tried to go after it since it's not open - vs open cans are fair game sometimes.
I also like using under the sink so there's a cupboard door in the way, too.