Open it
With the sword
Empty the trap using the cauldron
Operate the mechanism according to Petroy's interpretation
Raise the sword, sun and moon, then touch the crown
Lower the sword and moon, then touch the crown