Then click the lock screen and password, as shown in the figure.
We see that the last option shows the number of steps on the lock screen, as shown in the figure.
We turn on the switch to the right of this option, as shown in the figure.