How do i make puzzles?

Can you please recommend me some puzzle tutorials? I'm not looking for a specific one.
Look up a Switches and Variables tutorial. Puzzles would be made using those 2 event commands.
1 -
2 -
3 -

Sumrnddude has also a tutorial how to make a puzzle with five switches, but I can't find it right now.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-puzzles.132403/