If I recall, that bike has a PAS Hall sensor magnet wheel on the bottom bracket shaft with a pick up. This is a mechanical answer not a soft one. Just use your thumb to push the pickup away from the magnets. Or unplug the pickup.
To disable the throttle drill a hole through it and putting in a set screw.