Legislation that could criminalise sex education is also on the parliamentary agenda.