Update security-component.rst

added an example of how to use the unlockedActions property for the security component
This method should take an Event argument or php will trigger a strict error.