I realise it depends on the latch mechanism and other factors, but I found that the latch to the building (in which I live in one of the flats) was finally fucked after a slow decline, went to the local hardware store and got an exact replacement, all done within an hour. Not hard to do.