More efficient locking for symbolset