If you’re just starting out in the gym consuming protein within a few hour window after a workout is important.
If you’re well-trained then protein timing becomes less important. Focus instead on total protein, protein quality, and not exceeding the metabolizable amount (by your muscles) in each sitting.