Each gate has two unique symbols that you have to match with the Slytherin Locks. Use the correct symbols with the locked dials, and the gates will open. Use Q, E to rotate the top dial and A, D for the bottom dial on the keyboard or the equivalent buttons on controllers. All the solutions for the three Slytherin locks are mentioned below.
Move the blocks on the right toward you (Step 1). Push the four blocks to the left and then to the far end (Step 2) Pull the combine box on the left side toward you. Push these two blocks against the wall and then to the right. Climb up the box and jump to reach the chest.
.