I do not know for not mix fakemeta & engine, but nothing that I tried worked, so i started to ignore scripting rules
first, on the "equal(classname, "func_door", 9)", i had predicted the _rotating problem, and at first i did put the &&... but i figured that _rotating is just a continuation of func_door and if the equal function just check the first 9 letters, it will also include the _rotating
I made the entity_set_string as you sad, the door became locked but the button is not working...
Do you think I have to delete this old button, and create a new one with the different classname?