That's a stupid "solution" and would in no way fix this problem. The problem is that you have some high packet loss which cheaters can give themselves to for unfair advantages. This is why you get frozen like that, so you can't abuse this packet loss to run past enemies without them seeing you move. You need to try fix your packet loss, just search packet loss and find guides like: https://www.lifewire.com/how-to-fix-packet-loss-4176342