Event.System.Secure.Enter

Signals that the system is entering Secure mode. Usually this is equivalent to entering combat. Functions that may not be called in Secure mode will be locked after this event is complete.

Usage:

Event.System.Secure.Enter()