modify Lock