Have you also tried deleting preferences altogether? It seems to be behavior caused by various corruptions in one's Home/Library/ (in Preferences, Containers, Containers Group folder, ecc…) than a System bug. And certainly these behaviors are never related to OCLP and whether a Mac is supported or unsupported.Sonoma on a Late 2013 iMac (14,1): system and apps (safari especially) forget the setting and always reopen windows from latest session; anybody else with this annoyance?
tried changing and re-changing the preferences but the problem is still there…
But I would be happy to be wrong.
In cases like this, fortunately for me very rare for 24 years with Mac OS X and macOS, when a deletion of the preferences and perhaps also of respective folders in /Home/Library/Application Support/ doesn't work, I preferred to always remedy on a System clean reinstallation from scratch.