As described here:
https://community.esri.com/t5/arcgis-survey123-questions/does-the-survey123-web-app-support-readonly...
Survey123 does not support the read only expressions when the web form is used.
More that 5 years have passed since this post was created.
One of the thread mentions that there is an enhancement open but nothing has been done.
Thanks!