BitWarden (and possibly other password managers) has a mechanism where you can specify people that can take over and view your credentials in the event of your untimely demise. Probably isn’t an immediate process or anything, but gives me a lot of peace of mind.