I am not sure you need to do this, as @adamhholmes said, you need to make server-side checks and always make sure in your next pages that depend on that the terms & conditions have been accepted, that they have been really accepted by checking your database value for this specific user.
If there is something in the same page that you don’t want the user to interact with before accepting the terms & conditions, then you might consider changing your UI to have your terms & conditions acceptance in a separate page before doing anything else.
Hope this helps !