My front suspension keeps auto locking, brand new bike. Bike shops useless right now
I would suggest getting an assertion from the bike shop that this is warranty work, even if you can't get it there anytime soon.  

You could also ask the shop to simply ship you a pre-tested replacement fork (and a star nut) and you get to swap them over, and then ship back the faulty one.  

Ultimately the retailer will pass the warranty costs onto the wholesaler/manufacturer back up the supply chain.



Admittedly life's a bit off-base right now with C19 pandemic, but at least establish your case with both the reseller and the manufacturer.  Ultimately you as the consumer deserve a bike that works right.  It is brand-new!

So give them the chance to make it right, but also keep at it.