Valeo interview question

Puzzles (sandclock based +pin to open lock)