If you keep turning on Sticky Keys by mistake, you can turn Sticky Keys off and disable the Windows shortcut altogether.
Alt + F4 is a Windows keyboard shortcut that closes the application you're currently using. Here's how it works and what to do when it isn't working.