Yes, OneNote allows you to password protect one section of the document. Select the section or the tab then go to File > Password Protect This Section. Input the desired password and save the document. When you export it, the document will be visible except the part that requires a password to be accessed.