"When the engine is cold I can put it in gear and don't have any problems."

Probably because the choke is on and the motor is getting the proper air/fuel mixture. Might also be a matter of the motor being sealed up when cold. I would suspect a vacuum leak.