Uh oh! I’m not sure what kind of aquarium lid you’re talking about. There’s a few different kind of aquarium/screen clips you could try though. Here’s a couple; X, X. Or I’ve seen a few people use baby locks, which seem to work really well and are easy to use.
Depending on how often you need to open the entire lid, there’s always duct tape.