More fixes, Code input is now available in more-info card for lock Fix If code not needed, do not show lock and unlock buttons