Do not validate the color of players which have the LockColor flag set

Fixes #6572
Merge pull request #6573 from obrakmann/fix6572

Do not validate the color of players which have the LockColor flag set