With lock timeout

Could anybode please explain me what does this mean? I know that that these are not new lines of code, but still I can't understand the purpose. It is either wrong, or it deserves better comment.