Screen lags while typing or freezes completely, if I'm typing fast

…but …
that does not include everything.

Swap? Partitions? Space? BIOS?

Also see this for formatting, etc.

I do notice its an older kernel. So you might try something more recent. Both 6.1 and 6.6 are LTS.