The headteacher of a secondary school has moved to reassure parents after concerns that a man was acting suspiciously nearby.