Cannot make a new copy of document "Cannot write document" because it is read only

I created a file, but then it wouldn’t open.
I recovered the file.
When I tried to Save as, selecting the option: “Make a new copy of the document” > Ok
it gives the error box

You’re writing to the autosave file. Even if it was writable, you really need to create a copy, because autosaves are deleted from time to time.

In case if I didn’t get the issue, please describe it in more details

How did it get to be ‘ready only’ and writing to the autosave file.
I press File>Save As.
But I don’t know how it moved into that autosave.

Did you choose some other file in File > Save As?

Yes, I changed the file name