the chest must be opened with pirate key. After pirate key crafted I moved up, so both the snake are in the same area, then move the stone up to close them and open the chest
Then move the stone on the left, to close the space with the single snake on the right. Go up to the stairs, where you can found the chest