Bitwarden can work here
Bitwarden has a feature on the paid license that allows you to create recovery contacts that can request access to your password safe.
In the event of an event your configured contact(s) can request access to your password safe. You get emailed a notification to accept or deny. If you don’t respond they get access after the expiry of the time you configured per recovery contact.
I have 3 setup, the most trusted has the shortest timeout and the most capable has the next shortest. The third has 2 weeks.
I have 700 unique complex passwords and lots of useful info, like car insurance and so on listed as secure notes.
I’ve moved to Devon where people seem to come in droves to wait until they shuffle off this mortal coil and have been diligently explaining the hygiene benefit of a password manager along with the suggestion that people set up a recovery contact that could be their solicitor, friend or offspring. It’s a learning curve thing for everyone.
There are cheap solutions out there, the problem is that the generation that needs them most are not aware of them.