win32service.QueryServiceLockStatus
(int, PyUnicode, int) = QueryServiceLockStatus(hSCManager)
Retrieves the lock status of the specified service control manager database.
Parameters
Return Value
The result is a tuple of (bIsLocked, userName, lockDuration)