Did you have Bitlocker encryption enabled? If not the hard drive should work in another computer if it’s still good. You can get external drive enclosures that will let you connect it to another computer via the USB ports.
If Bitlocker was enabled, then it was encrypted by the TPM chip on that computer, and another computer won’t be able to read it.
Hi- No bitlocker-