I'm not surprised a snake finds a way out of that. All they have to do is push with their face (and they get a lot of leverage by pushing their body against the opposite end) until they form a tiny gap. They shove their face in that gap and then use the leverage to keep opening the gap bigger until the clips pop.
Snakes are one big muscle. Even ones that aren't giant, can be very powerful. You sometimes don't realize how much so, until you try to pry one off of something, or they are holding on to you for dear life.
As inconvenient as it is, you will have to use straps, like Pit said, tie down straps. I wouldn't trust anything that stretches.
That is why it is best (and easiest) to have tubs in some sort of shelf or rack system, it either keeps the lid on tight, or you don't need a lid.
Keep an eye on that girl, now that she succeeded into getting out, she surely will try again.![]()