I expect Apple and any other company to have to comply with local laws in various countries. It's unavoidable. What else could they do? Refuse and loose access to that population?
But right now, as regards device encryption and back doors, there is a sort of mutually assured destruction. A MAD that the US law enforcement (e.g. FBI et al) are constantly trying to undermine. Right now Apple claims the iPhone is designed such that they cannot unencrypt it. The FBI wants to force them to create a method.
Regardless of the technique used that then will make every similar device world wide subject to the whims of local law as regards allow that country access.
What would stop any country from then demanding blanket access to devices? But at the moment this doesn't seem happen because there's an unspoken detente among adversarial countries to not demand such back-doors.
This situation reminds me of that. Since it is possible for Apple and others to block things on their app stores, countries demand it.
It's a cautionary tale of why it's important for companies to design certain things from the bottom up to prevent bad behavior.