Hi Asami,
I believe you are using below iframe web block to load the url.

If you are using Iframe web block then there is no direct way to add sandbox attribute but you can add it by using javascript.
Other ways to add Iframe in outsystems web application are listed below,
Option 1:
Using HTML web block
If you use HTML web block then you directly add Iframe Tag like this "<iframe src="demo_iframe_sandbox.htm" sandbox></iframe>"

Option 2:
Use expression by setting it property "escape content" as "No"
Similar to HTML web block you directly add Iframe Tag like this "<iframe src="demo_iframe_sandbox.htm" sandbox></iframe>"

Please try these suggestions and let you know if you still need some assistance.