Commiting lock file