User Configuration > Administrative Templates > Microsoft OneNote 2016 > OneNote Options > Password
User
HKCU\software\policies\microsoft\office\16.0\onenote\security
This option disallows extensibility add-ons the ability to access password protected sections if they are unlocked.