I am currently developing a software solution for this called Webcam Blocker Pro. It's ideal for parents who wish to prevent their children from using the webcam and microphone without their supervision. Once the program is locked, it essentially prevents anyone from using any webcam or microphone attached to the computer, including malware or hackers, unless they have the password.