Go into the BIOS and [https://www.minitool.com/news/change-boot-order-windows-bios.html|disallow booting from USB devices].[br]
It should work fine if the primary boot drive is a higher priority.
Otherwise some things to try to make sure that the hard drive is completely dead and it's not some other issue:
# Make sure you plugged in the appropriate cables to the hard drive.
# Try a different cable.
# Try putting this hard drive into a different computer and see if you still get problems.
If you try all of those things and you can't get fix the issue, then it is dead as a doornail and you will need to try data recovery to access the data within.