Dissipative dynamics of a spin system with three-body interaction