[entropy.client.package.actions] action: expose a path_lock() method

This method returns a FlockFile based class object instance that
can be used for inter-process synchronization of arbitrary regular
files.