static DefaultLockRepository asDefault() {
        return new DefaultLockRepository(new DefaultLockRegistry(DEFAULT_MASK_ARRAY_LENGTH));
    }
As default lock repository, uses Masked Hashcode algorithm to obtain locks.
When an instance of this class is created and array of Lock objects is
created. The length of the array is based on the 'mask'
parameter passed in the constructor

@return the default lock repository
api/cas-server-core-api-util/src/main/java/org/apereo/cas/util/lock/LockRepository.java