Block incoming and outgoing calls and texts
Miui has a built-in call/message filter, perhaps confusingly called Firewall, since there is also an actual internet firewall within the, also confusingly called, Monitor application (a comprehensive call and traffic  logger ). Works great though. To password protect it just use the Guard application, also within Miui.