Try it this way.

 Code:
	$Usr = GetObject("WinNT://"+@DOMAIN+"/"+$User)
	$Nul = $usr.IsAccountLocked
_________________________
Today is the tomorrow you worried about yesterday.