[1/2] base: added config for menu unlock

Allow to define if menu unlock is enabled or not

Change-Id: Ibe498f5b6fc956678f426c9fdc9db28a0c483429
Remove duplicate line