Disabling inputs

Hi I was wondering is there any way to disable buttons, sliders etcโ€ฆ I would like for user to be able to check checkbox that is going to lock all values user set, so that they do not do any accidental changes.

if you read the api reference, you will find those input widget has a argument disabled.
you can use it to disable input.
consider to use session state variable to disable!