hook ham_touch pre and supercede, tho this wont block doors opening by a func_button
i think it would be also possible to change doors entity keyvalues to set it to be "locked", you could also remove targetname, so they wont even open by a func_button