im making a computer locking program which makes you enter a password to close it...

i need to prevent the user from pressing ALT + F4... I tried simply modifying the keypress event but it isnt working... why? do i need to use an api or somthing?

VB Code:
  1. Private Sub TextBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown, Me.KeyDown
  2.         If e.KeyData = Keys.Enter Then
  3.             e.SuppressKeyPress = True
  4.             If TextBox1.Text = pas Then
  5.                 Me.Close()
  6.             End If
  7.         End If
  8.  
  9.         If e.Modifiers = Keys.Control + Keys.F4 Then
  10.             e.SuppressKeyPress = True
  11.         End If
  12.     End Sub