Freeze Ents

I use this code to spawn entitie on map load.
But it spawning as prop, how to freeze it?


hook.Add( "InitPostEntity", "GM.SpawnTeleport", function( )
    if( game.GetMap( ) == "rp_downtown_v2" ) then
        local teleport = ents.Create( "teleport" );
        teleport:SetPos( Vector( -7593.5938, -223.3125, 3608.7500 ) );
        teleport:Spawn( );
    end
end );


I believe it’s
[lua]teleport:GetPhysicsObject():EnableMotion( false );[/lua]