I have seen this one a few times in videogames and elsewhere, but I don't remember where.
You have to open one door that has several locks on it. You have a bunch of levers that when moved change the state of some of the locks (open/closed), but the catch is that some levers control the same locks and when you think you opened a lock, the next moment you might close it if you don't deduce the right combination.
What do you call this kind of puzzle? I am not sure how to design and code this one yet so I am looking for examples, references (videogames) and some help.