How to Hide the "Password Protected" Admin Menu

function plt_hide_password_protected_menus() {
	//Hide the "Settings → Password Protected" menu.
	remove_submenu_page('options-general.php', 'password-protected');
}

add_action('admin_menu', 'plt_hide_password_protected_menus', 11);

Where do I put this code?