How can you make your computer restart if the wrong password is entered to log on?

I don't understand your question. The first answer that comes to mind is to enter the correct password, but surly that's not what you meant. If you mean you entered the wrong password so many times it locked you out, but you now think you know the password, you can try removing power and restarting.

If these weren't what you meant try re-asking your question.