The usage of this lock seems suspect.  Can you explain what it does, and why?