Disallow repeated indices.
Mark square ownership according to seat number.
Don't change ownership when using locked squares.