If you just slap the keyboard shut, the Surface Pro will be in hibernation mode and it won't be turned on. It won't consume any power (except for the RAM), so no, it won't heat up and the vents won't be turned on. It's the same with any notebook that you put in standby/hibernation (by just closing it).