Show a lock icon in the note's more options button while the note is pinned.
Records which device created and last edited each note in its frontmatter. Device names stay local, so sync tools never overwrite them, and synced-in edits don't count as local edits.