A library which allows process locking