it does sound like an immobiliser fault, that stops the engine turning over and cuts the fuel
did you fit a matching set of 1 - ecu, 2 - transponder (goes over the steering lock), 3 - ignition key chip
they must all be from the same car, either the donor vehicle or the original set, not mixed !