lockfile.py