So I have a weird problem - sometimes USB and keyboard both completely stop working when powering on. Reboots don’t help. The only resolution for that is a full power cycle that includes removing both batteries and letting it sit for 10-15 seconds.
Yatli makes an excellent point. If you tried the basics, it’s time for diagnostics. Setup ssh on the devterm and next time it locks up, ssh into it and check dmesg and the logs for clues.