If you're on Windows Vista or Windows 7, go to the Games Explorer via the Start Menu. Find the Crysis 2 icon, and right click it. You should see an option to "Deauthorise this Computer". Then the key de-registers from your system, and you're free to take it anywhere else you wish i presume!
As far as I know... from your Crysis 2 Start Menu shortcuts, if you select 'Crysis? 2 - Deauthorize this machine' it will make the game no longer be activated on your computer and give you an 'activation' back. Then someone on another computer can install it.