Connection class inherits lock method from davlib.DAV. Conection class redeclares connection.lock with threading.RLock therefore it was impossible to lock webdav resources. This patch renames connection.lock to connection.RLock to solve the name clash.
Connection-lock fix