I ran Linux for years on laptops/desktops/servers, doing OLTP software that does millions txns/day. I adopted Linux back when Solaris was the way to go for backends.
But moved to Mac (and OSX) about 8 years ago.
I don't get the "locked down" thing. On my current macs (a 2020 iMac and a 2015 MBP) I run Macports that lets me install pretty much every bit of userland software that I want. I also get the advantages of the MacOS gui environment and the availability of most "user" software.
Yes SIP and the new sandboxes lock down the MacOS part of the system, and things like VPNs (eg Wireguard) need to get a dev cert and distribution from Apple.
But the "lockdown" is very lightweight. There's nothing I can't do on this devices that I used to do on my Linux environments.
If I truly need a "native" Linux, then there are a number of VM and container environments also available.