An exercise in developing a lockable mixin...