A French court on Friday convicted six teenagers in connection with the 2020 beheading of history teacher Samuel Paty, whose murder shocked the country.