Lock and show buttons in collapsed mode must be disabled if no layers added

1) Please make buttons greyed out if no layers added
2) Please make lock/unlock mini button disabled if no layers added. Show/hide mini button is disabled already