That on-screen box is likely a performance overlay from a graphics utility, not Windows itself.
Try these keyboard shortcuts:
- Press Alt + R. This commonly toggles the performance overlay off.
- If that does not work, press Alt + Z.
If the overlay text shows items like FPS, GPU, CPU, or RAM percentages, that matches the kind of overlay described in the referenced cases.