Is it possible to prevent user from moving Slider/Scrollbar

So I have a Slider which I user to see the progress of my loading scene. What I want to do is to block user from moving the slider. So that I can only move the slider via script . Same goes for Scrollbar as it is also a option for using it as a progress bar.

The Slider component, on inspector have a box check named " Interactable ", set it empty.