Set lock/unlock menuitem sensitivity based on lock state