You could potentially have a mechanical lock of some sort that only opens if the right levers are pulled - optionally in the right order. For example, imagine you have a 2x2 set of levers, called A, B, C and D in some order.
You have a pump that can be turned off to disallow access entirely, three doors and a pressure plate then a drain (here a floodgate).
÷÷╪╪╪^X
Levers A and B control the first and second doors, respectively. The third door is connected to a pressure plate elsewhere that has water on it normally that is pumped off when lever C or D is pulled, permanently locking the door until more water is added (by some external lever). The pressure plate in the diagram opens the airlock door (near our levers) and triggers the floodgate - after 100 steps the floodgate will open, draining the liquid (you could also use a pump for this) and closing the door.
The problem with this simplistic setup is that it requires manual resetting: you have to reset the levers to the right state afterwards. You can set up a mechanical toggle system for each one as well, but it would be tedious.
Probabilistically, there is a 1/6 chance a gremlin will open your doors with this 2x2 setup. If you use more complex mechanical logic you can get better odds with just 2 levers (being pulled multiple times). Technically, you could have something as simple as needing to pull a single lever twice, which might bamboozle gremlins (will require testing of course). The only real question is whether designing and eventually implementing the system (which might take dozens of mechanisms and linking) is worth it for any fractional improvement.