The U.S. Supreme Court has granted certiorari in two cases involving government officials who blocked individuals from their social media accounts.