AlexVallat - 2020-05-15

CheckPasswordBox does not do anything until you actually perform an auto-type, so cannot be using CPU before then. If you are seeing high CPU without performing an AutoType, something else is causing it.

High CPU during AutoType is a possibility, because it's using Accessibility APIs to query the window that is being auto-typed into, and those are generally slow and expensive.