User Configuration > Administrative Templates > Microsoft OneNote 2016 > OneNote Options > Save
User
HKCU\software\policies\microsoft\office\16.0\onenote\options\save
Checks/Unchecks the option ''Optimize sections after OneNote has been inactive for the following number of minutes''.