I've found that crouching and walking in front of constantly will cause it to spin in circles. It's an easier way to make it stay in a small area, but people may look at you funny...

More Lystrosaurus Taming & KO Tips