"Lock Hospital" is a generic term, not a name. Many cities in the UK and Ireland had one. They were homes for "fallen women", and so-called because they were locked in. Not hospitals in the sense of places to take sick people. "Magdalene" homes were the same thing, but that name was used a bit later.