The theri can be stopped by a stone wall 1 wall high.

While they can damage stone, only their headbutt attack can do it, so the bottom layer, which they can't climb, is below their reach.

More Therizinosaurus Encountering Tips