Bob without knowing more we can’t say where exactly the problem is.
It can be avast but also e.g. the default installed drivers on that laptop or the drivers of the mouse/kb etc.

More details can (and likely will) at least narrow down what exactly is causing the problem