In Snapes class, go up to a bookshelf and press A or B. It will open, but you have to have all the spells because there are statues blocking the way.