some refactorings

- introduce LockFile.Create method