Yes, Windows can be configured to prevent it from going to sleep mode or having the screen turned off. But, if your school or work set up your computer to do just that, there is no way to change it without administrative rights.
however, you can actually prevent your PC from entering sleep mode by constantly jiggling your mouse.
To do that automatically, here is a script (in exe format) that you can run to jiggle your mouse every minute interval.
Download this.
Save this exe file to your startup folder and run it.