How to open a door when the puzzle is completed?