Apple Account • choose a recovery contact
Add a trusted person under Sign-In & Security, then Recovery Contacts. If you lose access, that person can give you a six-digit recovery code to enter during Apple’s recovery process. The contact cannot open your account or see your files. Talk to them before you need their help.
