How to disable touch during a call
You're looking for "proximity sensor" settings.  If your proximity sensor is enabled and your screen doesn't go black when the phone is to your ear, the sensor (looks like a tiny camera lens, usually in the upper screen frame) may be covered by a screen protector or case, or may have failed.  If you can't find proximity sensor settings, your provider's tech support should be able to help.