Launch Device Manager.
Go to Mice and other pointing devices.
If you’re using a Bluetooth mouse, go to Human Interface Devices.
Right-click on your mouse and select Properties.
Select the Power Management tab.
Find the option: Allow this device to wake the computer. Uncheck it.