Control students’ time on the computer??

You may be familiar with apps such as Time Watcher. I'm looking forward to creating an application to be used on students' computers to control the amount of time one can be on a computer. When a student is given a computer, she will be allocated say 30 mins, a timer should start counting down while showing the time remaining. When time elapses, the computer should be locked and probably throw a black screen all over with a dialog for entering the passcode and minutes to be allocated for the new session. The app would have "taken control" of the computer (or at least its inputs) for the moment.

I will appreciate any leads.

PS: Technically, I just need to know "how" to take over the computer's controls & screen with VB.NET, I can manage the rest of the timer settings, passcode, etc.

Embed a database to my application? (VB.NET)

Peace be with you!
I have been developing apps with VB.NET (old fashion??), upon deployment, all my apps connect to a mysql database server by also installing a mysql database server and of course, mysql db connector to other computers together with the app. But, I can see there a lots of other software that do not require a separate installation of a database server, software like QuickBooks..they seem to have their databases embeded in the application. This removes the hassle of having to make a separate install of mysql server to the client who doesn't even know what is. How is this accomplished? Is it possible with VB.NET + Mysql?
Thank you.