You could also use various security programs to lock your computer and still be able to run a program... I believe Fortress can do what your asking... Basically you tell Fortress what can and can't be done, so basically all you have to do is unlock the system start and run the program and with 3 Hot Keys and password you can lock the computer up. People trying to screw with the computer will not realize it's locked at all since theres no indicator that it's locked.
Basically you start w/e you want, full screen that program if applicable and make sure the only keys that you set to work through Fortress are the Hot Keys you need to disable the security software. It's user friendly and you can practically limit the user to only doing what you want them to do on that computer - the Bare Minimum just allowing them to Shutdown only

.
Most people don't stand by Fortress or any other program for various reasons but I haven't had any issues and still recommend it to people if they want to limit other users who use their Computer / Laptop to only doing certain things. Most BOE School Systems use various programs like Fortress and or Fortress itself b/c of the various kids who use the computers.
OR
The cost effective way, I really don't suggest unplugging the Keyboard or Mouse... Mouses are failry hard to get detected by a computer once unplugged and plugged back in where as a Keybd. isn't as hard... I suggest using a wireless Mouse and Keybd. which is much easier and will work alot better then unplugging and plugging a wired peripheral possibly causing the system to crash. Since most Wireless Equip. is plug and play and uses a USB Port.
__________________
Past FIRST Robotics Events that I proudly volunteered at:
FLL: NY State Competition '03
FRC: NYC Remote Kickoff '04 & NYC Regionals '04-'15 ,'10-'13 & NJ Regionals '06-'10, Finger Lakes Regional '09 & SBPLI Regional '08-'15 and the World Championship in '05 (Galileo Field) '07 (Newton Field) '09 (Practice Fields Attendant / FTA(A)), CeBIT Convention in '04 & NextFEST in '06 both held @ the Javitts Center, Monty Madness '07-'10, Panda-monium '08, B.Eruption '08 & '09, Ramp Riot '08, PARC '09 & '10, BR^2 '09 & Wol. Inv. '09 -'15
2015 FIRST Robotics Off Season Events that I hope to volunteer at:
Where is Wolcott Invitational
2015 FIRST Robotics Events that I will be volunteering at:
SBPLI Reg. & Championships
Volunteer Resume:
Alt & Lead Team Queuer, Field Repair/Reset, Field Setup/Breakdown, Spare Parts Attendant, Field Power Controller/Score Keeper, Co-Emcee & Official Scorer, Control System Advisor, FIRST Tech Advisor Assistant & recently Practice Field Attendant.