update comment on locking algorithm