Hi,
You'll find some information over here:
https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/deadlock-detection
https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/debugging-a-deadlock
Best regards,
Leon