Second part changes DefaultRecordStore check-style compliance.

can lockService be null ? in which case ?
What happens if we return null instead of creating the LockStore ?
do we have a null check ?
can we throw exception if lockService is null ?