First, to verify, in your CONFIG.FPW you have:
ESCAPE=OFF
You can only use SET ESCAPE OFF in a code file. Unless you make this your COMMAND statement in your CONFIG.FPW file - i.e.:
COMMAND=SET ESCAPE OFF
Are you trying to prevent them from interrupting the processing, or are you trying to prevent them from closing your application?
Rick