From their documentation, your statement is wrong. What they say is:
A robots.txt file tells search engine crawlers which URLs the crawler can access on your site. This is used mainly to avoid overloading your site with requests; it is not a mechanism for keeping a web page out of Google . To keep a web page out of Google, block indexing with
noindexor password-protect the page.
They do use it, but:
If other pages point to your page with descriptive text, Google could still index the URL without visiting the page.
So the best option, @lisandro_iaffar, would be to avoid linking to that page, and use noindex meta tag on that page: <meta name="robots" content="noindex">. But without using robots.txt, since the crawler needs to see the page to read the meta tag.