NoteForge
Encrypted, offline OneNote-style notes for Windows
...The editor has headings, lists, tables, checklists, code blocks, links and images, with Find & Replace, dark and light themes, auto-lock when you step away, encrypted backups, the last three versions of your notes kept, and crash-safe saves.
Use the signed installer, run the portable exe from any folder or a USB stick, or install it with Scoop. MIT licensed.