hang up – Mojave freezes for a fraction of a second every 25 seconds when there is a second registered user

The touch bar of my MacBook Pro 2016 with Mojave freezes for a fraction of a second every 20 to 30 seconds when there is another user registered in the operating system.

But the other account does not have any application or suspicious process running.
The Console.app does not show anything relevant during the small freeze.

I see many users complaining about freezing the cursor every time, but with my laptop it freezes the screen, the keyboard and the mouse.

I do not use a second monitor or any other accessory. Only the laptop that uses the touchpad as a mouse, not an external mouse.

The problem does not occur with a registered user.

Is there any clue about this problem?