Users can make a request for emergency access to a data backup account in case someone has passed away. You can set it up with your password vault, like LastPass. iCloud does it too. Facebook also has a way to gain access to social media accounts and turn the page into a memorial for those who passed away.
Freddie's brother in law died and he's trying to get into his Linux laptop to settle his estate, but he doesn't have password. Leo says that if he can get into recovery and read the hard drive, then he's OK. He could have also encrypted the hard drive to make it impossible to get into it. Since he didn't do that, though, it may be possible to bypass it with single user mode and run with root access by pressing CTRL + S on startup. Or, Freddie can get third party software that can find the password and crack it. Google "Linux Unlock Disc." There's also an option for emergency access.