You see only truly smart Witches would see the incantation on the wall was incorrect from two letters being the wrong way around. It annoyed Hermione to no end for the first few times they were there. One day she went closer to it and noticed the dial, and when it was turned, the spell Alohomora lit up and there was a secret door that opened.