LPS-38599

Note: in DLFileEntryLSI.hasFileEntryLock(), isFileEntryCheckedOut() (line 1230) must be called before lockLocalService.hasLock() (line 1236), otherwise lockLS.hasLock() will expire the lock and we don't know whether the lock value has changed