Have you already checked the settings in notepad? If not please follow the steps below.
-Open Notepad.
-Click on the "File" menu.
-Select "Options" or "Settings" (depending on your Windows version).
-In the "Preferences" or "Startup" tab, look for an option related to session or file restoration.
-Disable or uncheck the option that says something like "Restore previous session" or "Reopen files from the last session."
If you have any additional questions please don't hesitate to ask. Thanks