check if the noise is coming from the cylinder head. If that is the case you will need to have the valves checked. one or a number of valves are not closing properly hence get hit by the pistons hence the knocking sound. This can get worse and eventually the valves can bend or break resulting to the engine getting stuck. At that point it will be very expensive to repair.