Between the two lockouts, in addition to the two seasons of covid-19 he has lost close to 150-200 games of accumulating in his career. It's a shame. Because if not for those games lost, this discussion wouldn't take place he would break the record no question.
No, it would not be "no question". There are too many factors here to take into account that you're not considering.
First of all, every long-term player in history has lost games to injury and/or circumstances. If you're doing this for Ovechkin, you have to do it for everybody else, too. If Gretzky hadn't been lost 24 games as an Oiler (18 more goals), 59 games as a King (30 more goals), 12 games as a Ranger (2 more goals), 34 games to 1994 work-stoppage (16 more goals), he'd have been at 960 goals. So,
960 goals.
If Bobby Hull had played in 82-game seasons from the late-50s to early-70s (70 more goals) and hadn't missed games to injury (46 more goals), and hadn't left for the WHA for six seasons (maybe 205 more goals?), he'd have been at
931 goals.
What about Jagr? Like Gretzky, he lost 34 games to work-stoppage in 1994, then 19 games in 1997, 19 games in 2000, then three full seasons he left the NHL for Europe... So, I dunno, maybe 120 or more goals? So, he'd have been at
886 goals.
(Then, imagine players like Maurice Richard and Gordie Howe if they'd played 82-games seasons in their primes.)
Second of all, there are no guarantees of Ovechkin's doing anything if not for lost games. He is now 174 goals behind Gretzky. Let's say Ovechkin comes to North America in 2004, and in 2004-05 played on the Jagr-led Capitals. How many goals does he score as a rookie, at the height of the 'dead puck era', getting half as many PP's as he did when a rookie? I'd guess 25-30, at most. Then, like everyone, he lost his 34 games in 2012-13, so maybe that was 25 goals. The Covid pause/shortened-season is going to cost him only 40 games, mainly past his prime, but that's perhaps 25 goals, optimistically. So, now he's at 78 more goals than he current has, or
798 goals. That would put him almost 100 goals behind Gretzky. Could he do that? Sure, he could. Or he might not.
However, a
third point you need to take into account is wear and tear on the body, which accumulates the more you play. Ovechkin is turning 36 later this year and now we're talking about adding 156 NHL games onto his resume. That's considerable extra mileage, which he would now be feeling even more if he'd played those games. What I'm saying is, it's quite possible that his inevitable decline (which might be evident this season, though it's hard to say yet) may have occurred earlier with extra wear and tear on him. For example, instead of his 48 goals last year, it might have been 30 goals or whatever with the extra mileage on him. (This is to say nothing of the increased risk of serious injury with more games.)
The guys who might actually suffer the biggest losses to career totals due to Covid are the McDavid / Draisaitl / Matthews / MacKinnon generation, who are in their primes now.