Cannot move file. File is locked

I’m trying to move a file, and receive this error message:

OCA\DAV\Connector\Sabre\Exception\FileLocked: “XXXXX” is locked
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php - line 158: OCA\DAV\Connector\Sabre\Directory-
moveInto(‘41215790_216940…’, ‘XXXXX…’, Object(OCA\DAV\Connector\Sabre\File))
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 646: Sabre\DAV\Tree->move(‘XXXXX…’, ‘XXXXXX…’)
[internal function] Sabre\DAV\CorePlugin->httpMove(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit(‘method MOVE’, Array)
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/nextcloud/apps/dav/appinfo/v1/webdav.php - line 80: Sabre\DAV\Server->exec()
/var/www/nextcloud/remote.php - line 164: require_once(’/var/www/nextcl…’)
{main}

I’ve waited several minutes, still cannot move the file.

The file is on Amazon S3, and trying to move to another Amazon S3 folder.