Disable radio button and select tag while loading

Is there a way to disable radio buttons and select tag? I connected data with AWS Athena and while loading data from Athena, I can change the inputs while loading, and it causes an error during querying data from Athena. How can I disable them while the layout is being loaded?