How can I disable chat heads?
There should be a menu called "Advanced Features". Tap on that and then you will find something about smart pop-ups. Find the messaging app and disable it from there.

On my Samsung A50: