drvmgr: Use API mutex usage
The driver manager lock may be used before the executing thread is initialized.