For the old MIUI, it seems that just turning on flight mode is enough. I don't know about the new version.