In that case, preventing the screensaver from starting (and locking the system) during a fullscreen game can be accomplished with the following script:
#!/bin/bash[Ubuntu 10.04]
xscreensaver-command -exit
[COMMAND TO START GAME OR PROGRAM HERE]
xscreensaver -no-splash