lockfile now created using mlock/rmlock