A federal judge in Austin temporarily restricted the enforcement of a state law that regulates children's social media use.