#107563backend:lock command ignores whether file was written or not
Description
The command backend:lock calls the method LockService->lockBackend() to create a lock file. Unfortunately, the method does not return any value, thus the state of the lock file cannot be determined.