They would be forced to struggle for one turn. Then they can use the move they are locked into the next turn. Then they are forced to struggle again. Then they can attack. It keeps repeating this process until they switch out or the Torment ends.
They will Struggle every other turn. Until Torment wears off.