I use Rnote to write freely on a big whiteboard and Xournal++ for taking notes over PDFs of lectures.
Rnote has a much more modern and user-friendly interface while Xournal++ has more features and has been around for longer. I use both where I feel each excels.
If you're on Gnome, you can use Frog for step 1 then Dialect for step 2.