Go into the Gryffindor Common Room and walk up the flight of stairs inside. Then, enable the "Toggle ghost mode" code to pass through into the room behind the door on the right. If you run towards the door, you will be teleported to a secret challenge. To leave, go to the final star, which is found on top of a bookcase.