The Karnataka government has banned online classes in the state citing screen time issues as the reason.