LibreOffice keeps starting when I wake computer from sleep

So I have LibreOffice 24.8.1.2 installed on a new Windows 11 mini PC I got. However, every time I wake the computer from sleep, it always starts LibreOffice and opens the last document I had open before I closed it before putting the computer to sleep. Is there a way to stop it? It’s getting really annoying.

Did you close the document and quit LO before putting the machine to sleep?

And how did you open it? From the office or from Windows Explorer? Perhaps it is the Explorer that re-executes the last command after waking up?

Oh, yes - WELCOME!

Yes, I close the document and LibreOffice before I put it to sleep.

Most of the time I open the documents from the office app itself, but sometimes I open it through explorer.