You can add the clickable modifier to your Text or use ClickableText instead of Text.
Here is an example of how to do it with ClickableText:
var enabled by remember { mutableStateOf(true)}
ClickableText(
text = AnnotatedString(text) ,
onClick = {
if (enabled) {
enabled = false
text = "Disabled"
}
})