> They are acting immorally by restricting what users can do with devices they own.
It is not immoral. They are open and upfront before you buy the device. I personally buy an iPhone because of the walls.
Keep in mind a village/castle with protective walls is not a prison.