Why not make use of a password manager?
You can’t open the password manager until your computer is unlocked.
You can put the password manager on your phone or another device.
and now you’re violating a different policy.
I'm not pulling my phone out every time I have to unlock my computer at work. If IT wants my work account to be secure they should change their policies.
As discussed here, the policy is from outside the org.