A Texas judge ruled that TikTok violated state consumer protection law by misleading consumers about its efforts to keep inappropriate…