Annoyingly, there isn't one. There's no cheat code to unlock Sideswipe in Transformers 2: The Game on PS3.
It's a shame for fans who were hoping to play as him, but you'll have to make do with the characters that are available.