New feature of Locked Mode and documentation updates.

Added code that causes the light to flash the tail cap LED 2 times if
the light is in locked mode and the button is pressed.