In Fallout 3, the key for the locked room in the bomb dump area is obtained during the "Shoot Them in the Head" quest.
Progress through that quest and the key becomes available. If you get stuck, consulting a full walkthrough of the quest will point you in the right direction.