Question [Q] detect sim card device administrator

Is there an app (device administrator), in which i can set my sim card.
Every start of the device, it detect the sim card and if it is not the same, it will ask for a pin (or it will send an email with a number to my account)
If the pin is wrong, the app will reset the phone to factory reset.