How to open a door when the puzzle is completed?

I can add more screenshots if it gives you a better picture.