Yes you can.
Type netplwiz in the Run box. Then un-click the box in front of "User must enter a password....". After pressing Apply you will be asked to enter your password.
Next go to Power Options. At the left side of the screen should be "Require a password on wakeup. Select this and make the changes and you are good to go.