How to disable texture rotation when I rotate an object ?

if i understand right
when you rotate the object you can go to modeling mode under UVs while the object is selected and rotate its uv to the side you want