By the same token, exchanges will also freeze funds.
If you want to avoid that you have to follow the original Bitcoin vision where everyone had their own node, but I don't think anybody actually works like that these days, to a very small rounding error. Everything interacts with some sort of very centralized service that can screw you over.