Design a trap that would prevent your robot controller from ever reaching the lamp. There must be a valid path from the robot's starting position to the lamp (which your robot controller will not find).

In the following figure, black regions represent walls:

robot

Valid HTML 4.0 Transitional