Capture the Navigating event of the WebBrowser control and set the Cancel property of its NavigatingCancelEventArgs to True.
Visual Basic code...
Private Sub WebBrowser1_Navigating(...) Handles WebBrowser1.Navigating
If WebBrowser1Locked Then
e.Cancel = True
End If
End Sub
This requires a global locking boolean variable.
Partial Public Class Window1
Dim WebBrowser1Locked As Boolean = True
...
End Class
And locking and unlocking to be wrapped around the desired navigation.
WebBrowser1Locked = False
WebBrowser1.NavigateToString("...")
WebBrowser1Locked = True