The simplest way to mass-rename a group of files is to select them all at once in File Explorer and apply a base name to ...
In case, you have no clue which app is the troublemaker, just restart your computer as that will close all the files and folders anyway. Hopefully, you will be able to rename the folder afterward.