A simple lock file library.