Apple id password 2FA
I bought my daughter an iphone 2020, it was Iphone 6s. But the screen got broken and we left it for many years to get repaired. Today I went to the repair shop to fix the screen. But my daughter forgot her home password and apple id and the password. We factory reset it but it was phone owner lock. I was able to recover her apple id but the password, passcode and the phone number that was used before is completely forgotten. Is there a way to change the 2FA? I have access to the email that was used for her apple id. Can't I use it for confirmation?
P. S. She's the only apple user in our family.
Earlier iPhone models