Hide Theme Editor from WordPress Dashboard

Do you want to remove the theme editor from your WordPress blog/website? There can be various scenarios when the theme editor is not required at all in the WordPress dashboard. For instance, you are creating a website for your client who does not need to make any changes to the theme. You might have multiple administrators for your website, but you do not want them to have access to the theme edit panel. Then there is the risk of an accidental change to the theme.