Freezing Entities?

Hello every gmod coder that, probably, know more than me.

I wonder, is there a way to freeze NPCs with code, I can only find:



Player:Freeze(true)


Of course, that only applies to players, but I wonder, is there one for NPCs?



NPC:GetPhysicsObject ():EnableMotion (false)


Set MOVETYPE could also work.