Sometimes when I turn on my computer, USB devices (I've tried every USB port) are not recognized by the computer even though they are receiving power.  Performing a hard reset by holding down the power button and then turning the computer back on fixes the problem.  When this issue occurs and I try to perform a proper Restart or Shutdown, the system just hangs on a black screen and never actually restarts or shuts down.  I've been unable to determine any pattern or figure out what causes this; it seems to just happen randomly.  Any ideas?
Computer Info:
Acer Nitro AN515-44
Processor	AMD Ryzen 5 4600H with Radeon Graphics 3.00 GHz
Installed RAM	16.0 GB (15.4 GB usable)
System type	64-bit operating system, x64-based processor
GPU             NVIDIA GeForce GTX 1650
Edition	Windows 10 Home
Version	22H2
Installed on	5/16/2021
OS build	19045.2846
Experience	Windows Feature Experience Pack 120.2212.4190.0
BIOS Version    Insyde Corp. V1.01, 4/16/2020