If you wanna block taskmanager then you can make a timer that checks if the prosses is running and if it does its terminat it.
Or the Pro way is to edit the registry so your taskmanager is disable so you get a messenger everytime you tries to start taskmgr that taskmgr has been disable ^^