I want to stop activity tracking, because this was the only one way to prevent steps detection while driving car or travelling in train
You could start an indoor cycling activity. It does not record any steps.