Add lock to _colours since it can be manipulated by a Job thread.