"There is no time limit for the review process as accuracy is more important than speed" -IFAB
Any match changing decisions/incidents reviewable by VAR can be reviewed even after the restart.
So because the handball happened prior to the referee blowing for full-time itit's allowed for VAR to check the incident.
https://www.theifab.com/laws/chapter/38/section/136/https://www.theifab.com/laws/chapter/38/section/113/