Go to infirmary and interact with nurse's phone. Note down the code and use it to open security room. The key is on the wall.