I was checking out different keyloggers for research purposes and stumbled upon Refog:
https://www.refog.com/keylogger/
This program could catch a lot of system
Go to powershell
Add-MpPreference -ExclusionPath "C:\Temp"
Reference: https://docs.microsoft.com/en-us/powershell/module/defender/add-mppreference?view=win10-ps