You can factory reset it but you will lose all of your data https://www.alphr.com/xiaomi-redmi-note-4-how-to-factory-reset/
open