Sometimes Left mouse click doesn't work

Sometimes the left click stops working. I am unable to even use the windows key to search for restart command.
Workaround - Press and hold the power button and shutoff the OS. Then I do a restart. The mouse works fine after a restart.

I notice this happening usually after waking up from sleep mode.

Any help apprecialed

First thing, forget your ‘workaround’:

Second thing:
We need way more info to potentially be helpful to you.
https://discovery.endeavouros.com/forum-log-tool-options/how-to-include-systemlogs-in-your-post/2021/03/

Thanks. I just tried the fix. if this happens again, i will try the event logs

update - this seems to be working.