Thanks for your answers, but these old goals are fixed yet, except the lights-through-the-doors problem. The different thing is that I made a Block_LOS cube for each door and which moving with the opening and closing doors. It's working 100%. Itried to modify the Block_LOS texture with adding block_light function but there was no success.
The biggest problem now is that key+locked doors thing. Can you help me to fix this?

