Perhaps you are looking for SuspendThread and ResumeThread APIs? The following is VB6.
Code:
Private Declare Function ResumeThread Lib "kernel32.dll" ( _
                ByVal hThread As Long) As Long
Private Declare Function SuspendThread Lib "kernel32.dll" ( _
                ByVal hThread As Long) As Long