If there is no keyboard or mouse activity for a while, TeamLens treats that stretch as idle rather than active time.
Admins can change the idle threshold in Settings. Search the settings page for "idle" to find it.
Idle stretches don't delete any time. If you were working away from the computer, for example in a meeting, ask for that time with a manual time request.