When Microsoft Office for the web opens a file, it locks the file.
You can't delete, rename, or move a file that is already opened for editing by you or someone else. You can't upload or rename to a file with the same name as a file already open for editing by you or someone else.