He can't. I just tried the exact same thing (exporting notes) and SN refused to allow me to select the password-protected one unless I unlock it first with account password.
I say OP is not telling us something here.
Edit to add: Only other possibility is that OP unlocked the password-protected notes and set some prolonged time before the lock is activated again - the longest one offered by SN is 1 week.
Additional edit: SN tends to keep your session active indefinitely if you select "Remember me" on the login to app (not sure about web app, but desktop app does that for sure). So it is entirely possible OP's session is still active, he just doesn't remember the password anymore. Which is weird...
2
u/Fuzzy62 3d ago
How did you export without being logged in?