How to Desactivate Mouse of Sleep mode

I have an issue with the sleeping mode : the computer sometimes restart by itself without any action on keyboard or on mouse ; I suppose the mouse is too much sensible and then I would like to deactivate it of the sleep mode ending , then restart would be possible only by action on keyboard; is this possible with XFCE4?

The procedure will depend on your hardware and how your keyboard/mouse are connected. Read this
https://wiki.archlinux.org/title/Power_management/Wakeup_triggers

here an extract of my file wakeup for “enabled items” ; but how to identify them?where is the mouse , what are the others ?
XHCI S3|*enabled pci:0000:00:14.0
RP03 S4|*enabled pci:0000:00:1c.0
AWAC S4|*enabled platform:ACPI000E:00
PBTN S3|*enabled platform:PNP0C0C:00