auto lock done