The CPAP lockout is something I went through. The company behind my CPAP does not allow you to get ANYTHING off the device. But there is an SD Card that you can get all the info you want from your old system. Its arbitrarily locked out.
You are also unable to repair anything on the device without insurance getting involved. And insurance is often at OEM prices (think 200+ for a basic mask). Thankfully, people have illegally added STLs/chips/parts/etc... online that you can basically reverse engineer the entire device nowadays. As long as you use medical safe materials, it saves you literally thousands of dollars. Ive replaced quite a few parts and the device is still working after many years of usage.
Ive done that but just wifi. It works. Its more of a "for fun" kinda deal. I cant get rid of my smart phone because of a couple of necessary apps for work.