How to Disable the keyboard attribute on a text input

Hi all, how are you?.

I’m trying to disable the input on a lock/unlock window by doing normal counting of invalid keys, when the count reaches 0 then want to block the system (the screen) and disable the input text but after the pop-pup window appears telling that the system is locked then in the touch release event of the text tool I’ve putted a condition telling that the system is locked too, the problem here is that after that the keyboard keeps appearing, the keyboard can’t be desabled at run time so I need to know how can I disable or avoid that the keyboard appears after the system is locked by bad password.

Thanks in advance for the help.

Does tsw work on the control which opens the keyboard?

I’m sorry but I don’t know what you mean with “tsw”

https://nextion.tech/instruction-set/ See tsw.

Oh thanks, I’ll try and let you know