To do that, go to SEO, PRO, robots.txt tab.
Check the iOS toggle associated with Robots.txt.
Then, check Enable robots.txt virtual file.
In Virtual Robots.txt file textarea, create your robots.txt and click Save changes.
To view your robots.txt file, click the button View your robots.txt, or go to https://example.com/robots.txt
Notice that, if your have a physical robots.txt file, this virtual robots.txt file will not bypassed it.
Some servers automatically add a physical robots.txt file that can only be surpassed by creating your own physical robots.txt file. In this case, the virtual robots.txt of WP or SEOPress can not be used (case with some web hosts like Infomaniak).