You need to push keep the buttons pushed without being detected by the statues to solve the puzzle.