You can protect your notes with a PIN code or Touch ID. This feature is currently only available on iOS but will come to macOS soon.
Encryption is handled by the system itself. On iOS, all your data is automatically encrypted when you use a password or Touch ID. On macOS, you can enable encryption in system settings. Your data in iCloud and communication to and from iCloud are also encrypted automatically.