use locked to know which turn is it