@thirdbird That's an interesting suggestion though this should be handled on the system-level: you lock your account and all apps are locked (and storage is encrypted).
INDICATORS OF COMPROMISE (IOC)
InfoSec Community within the Fediverse. Newbies, experts, gurus - Everyone is Welcome! Instance is supposed to be fast and secure.
We have a Getting Started Guide here: https://ioc.wiki/mastodon
HAVE FUN and STAY SAFE!