Tuxedo computers could be a good fit I think? It’s like system76, but from Germany. You can pick from a few OS including an Ubuntu fork they made ( tuxedo os ). You can tweak the laptop yourself ( different you/CPUs/disk sizes/… ) to fit your use case.
https://www.tuxedocomputers.com
Personally I’ve never bought there, but a friend of mine has and he’s happy with his purchase.
Note: I do not work for them, or am affiliated with them in any way.
I think this setting is reset on a phone reboot.