From context, I believe it means to context switch (i.e. that there is a timeslice boundary at the current point). Thus,
p0 tests lock (now, slice before actually setting lock)
p1 tests lock (this makes p1 think it is still available)
means
p0 tests lock
timeslice ends -- context switch to p1
p1 tests lock
...