and if you’re using multisite, and want to keep your super admins ability to see that section, then:
function remove_customizer_settings( $wp_customize ){
if ( is_super_admin() ) {
} else {
$wp_customize->remove_panel('widgets'); // ok
$wp_customize->remove_panel('nav_menus');
$wp_customize->remove_section('themes');
}
}
add_action( 'customize_register', 'remove_customizer_settings', 20 );