You must reach the pipe that is on top of the tower otherwise it cannot be unlocked. Also check if alerted any nurses along the way. You must start at the entrance then on top of the tower.

I just realized the issue. What I was doing was I'd jump straight into the second level of the tower from a side blocked by a wall using the pins. I figured I had to start from the entrance directly below, and that did the trick.