No, for now only individual sections may be encrypted and password protected. This may well be connected to OneNote’s file structure. Sections are actual files while notebooks are folders. There have been hints from Microsoft that this limitation could change in the near future.
Check Also
New: OneNote App Will Move Local Notebooks to the Cloud
The March update enables the OneNote app for Windows 10 to transfer locally saved notebook …