Is it possible to prevent the screen from locking while connected to the USB
If you go into Settings > Applications > Development there is a setting for Stay Wake which is described as "Screen will never sleep while charging".

Give that a try :)