added definitions for lockfile
Merge pull request #2119 from Bartvds/def/lockfile

added definitions for lockfile