Cooking a grenade means holding it after you pull the pin so the fuse burns down before it leaves your hand — the explosion lands almost instantly, leaving the enemy no time to run.
The risk is obvious: hold it a fraction too long and it detonates on you. It's a high-skill, high-reward technique that works best around a corner or over cover, and it's genuinely satisfying when it lands.