You don't need to reinstall your whole operating system just because you forgot your Linux login. It's actually pretty easy ...
Apple Notes allows you to secure your notes with a password or biometrics to prevent unauthorized access. As such, you need to either enter your password or authenticate yourself with Touch ID/Face ID ...