If you are using MFC, simply use the function:
SystemParametersInfo( SPI_SCREENSAVERRUNNING, 1, &old, 0);
It will make the computer think it is in screensaver mode and disable that key sequence. To reenable that key sequence, call the function again, but change the second parameter to 0.