If you’re talking about the Synology and Qnap branded systems, there isn’t any vendor lock-in in the traditional sense, since at its core it’s just a low-power disk host. They have their own OS setups and such, but are all Linux based. You could also just build a low-power box with a bunch of disks and install something like TrueNAS or Unraid if you are so inclined.