Only way to be safe is to power off your phone and remove the battery while youre driving, riding or walking.
It’s an iPhone, so the battery doesn’t come out that easily.