This ability also exists in the games, but with different effects. It exists in Code Lyoko: Quest for Infinity, but the effect only lasts 2 seconds, same goes for Code Lyoko: Get Ready to Virtualize. It lasts roughly 30 seconds in Code Lyoko: Fall of X.A.N.A.. In addition to the standard Freeze ray found in normal blocks, both games also have specialized blocks that only use this weapon. The ability also exists in the Code Lyoko: Social Game.
If the entity hit has 50 or less lifepoints, they are simply devirtualized, but this only happened once, to Ulrich. The freeze ray has been known to accidentally freeze other monsters, which happened once in "The Secret".