If you want to create a step slider with range from 0 to 100 with step 10.
You can create slider with range 0-10. When will you get the value just multiply by 10.
Example:
lv_slider_set_range(slider, 0, 10);
int value = lv_slider_get_value(slider) *10;