If you click on the statue an inventory window should open, where you can place the crystals to open the door and disable the trap.