Is it possible to configurate the TeamViewer so the user can't performs the shutdown, reboot, lock user, log off etc. via remote control?
I really doubt it. I don't think the computer can tell the difference between input from a user sitting at the computer, and from someone connecting through Teamviewer. You'd probably need to disable it completely on the computer, and require a password to re-enable those controls.