Okay, that flash memory read/write for LOCKDOWN mode seems to work very well.  LOCKDOWN menu is completed with buttons and text, now I just have to add functionality for the two buttons, LEAVE LOCKDOWN MODE and UNLOCK.