(I work at Notion)
"Lock in" is not a part of our strategy. We try to offer data portability via import and export; you can export your entire workspace as HTML (most metadata, pages link to each other and can be browsed offline), PDF, or Markdown (most easily editable). Given an HTML export and a few hours of scripting, I think you could migrate to any API-accessible document storage strategy.