Inserting a section is done via the Insert ▸ Section menu. Check the box Hidden and give the condition: