In LEGO Harry Potter: Years 5–7, Dobby carries the key to the Room of Requirement. Using it unlocks a hidden area containing collectibles and rewards.