as long as you don't do out of saddle sprints, then frame should be ok.
However, I wouldn't put a superlight frame on a locked out trainter though.
My trainer is the rock-n-roll one, which allows the bike to rock freely, and this relieves all of the stress involved with the framed being locked, worth the investment if your bike is on the "high end" side