modif with-lock