How to squirrel-proof trash cans?
Usual solution for racoons, who are stronger and more massive, is to bungee-cord the lids closed, and bungee the cans themselves to something stable (or sometimes to each other) so they can't be knocked over.

Picking a different design of trash can may help too.