public bool Equals([AllowNull] LockSystem other)
        {
            if (other == null)
            {
                return(false);
            }

            return
                (keys.Equals(other.keys) &&
                 locks.Equals(other.locks) &&
                 policies.Equals(other.policies) &&
                 assignments.Equals(other.assignments));
        }