Modify the speckeysd.map file to add the -x flag to the sys-suspend entry.
For more information, see the man page for speckeysd.map(4).
Save your work if you have not already done so.
Exit the current windowing session and restart.
In place of this step, you may also kill the speckeysd daemon and then restart the daemon.