The reason for the game's lags can be the low PC's specifications. Here are system requirements for Hello Neighbor:
How to check your specs:
1) Open Settings.
2) Click on System.
3) Click on About.
4) Check the Device specifications section to view the computer name, processor, the total amount of memory, system architecture, and included touch and pen support.