Recently we had a good friend pass away. Once the grief was passed came the sorting of all the papers, accounts, investments, etc. But it was all on his computer with security checks and passwords. Anyway, if you use an iPhone, Mac computer or iPad you may want to go to Apple support and reed the article about "Apple Legacy Contact"
How to add a Legacy Contact for your Apple ID - Apple Support. My wife and daughter have mine.