Hmm... maybe there is something wrong with my english. I wrote:
"I tried to attach it to the 'Station no fire zone exited', it works in case of planetary stations, and in most cases when leaving orbital stations. But unfortunately, there are some situations, when the timing doesn't work."
I was trying to say, that I'm aware of the existence of the 'Station no fire zone exited' event, tried it, but it is not doing its job properly in case of the "mass locked off, turn on FSD" message.
Thanks anyway.
The no-fire zone entered/exited events are triggered when receiving the relevant message from the station. Sometimes these messages are not added to the journal log, hence the events don't trigger. As far as I'm aware this is an issue with Elite rather than EDDI, but if you do find it happening to you then if you can post the relevant excerpt of your journal log (from the 'Undocked' event to the 'FSDJump' event) it will help to clarify where the problem lies.