Uncheck a Check Box or Gray it out once it has been selected

Hi team,

Is there any way to uncheck a checkbox?
For example:
agree = st.checkbox(‘I agree to all terms and conditions’)
if agree:
After agree has been selected once, I would like it to go back to being unchecked - so as to not call the function security again when another button is selected…

If there is any other way to achieve the same, please do let me know. st.cache is not suitable for my case.