Multi-process locking example.