lock done