[BUG] Lagging every time I walk

I dont know if this has been posted about or not, but every time I try to walk my screen freezes until I stop pressing the key.
the funny thing is that I can still hear my footsteps and if I’m standing still I have okay FPS, plus I have tried lowering the graphics to the lowest setting with no avail
and if I press any key it causes the game to freeze for a second before unfreezing.

This problem is getting pretty annoying and if anyone has any ideas on how to fix this then please tell me.