> What if, for example, a piece of software is logging your key presses...
Even easier: What if someone beats you with a stick until you unlock your password manager?
Security is always a compromise around a lot of assumptions about threat model, usability, etc.
Nudges are a great way to increase overall user security with almost no drawbacks, but ofc ultimately things like this always have to be user choice.