Disable the submission of a form
To make sure nobody submit the form create a custom validate function that always set error on form ,(using form_set_error).

In that validate function you have to check for the circunstnaces that makes the form available to submission or not.