Removal of locked iCloud account from iPhone 8
My grandmother died recently and my family gave me her iphone 8 Plus it’s using iOS 12.4.1. I can’t update or use several apps because I haven’t updated to whatever the app in question is requiring. I have the password to her iCloud account but it’s locked and the only two options for me to unlock it is 1) send a link to the email. Which the email address it’s being sent to is the locked iCloud account in question. Or 2) answer 2 security questions and her birthdate. Know her birthday and 1 of the security questions but the answer to the other one went with her to the grave. Does anyone know how I could atleast get the account off of the phone so that I can do a factory reset
iPhone 8 Plus