Provides Flock object which implements __enter__() and __exit__() methods to be used with 'with' statement