@Emma1811
Then -- take it back to Walmart -- because we are not allowed to help you bypass security measures, including passwords, so we can't provide you any assistance in this.
If this was a used PC, if Walmart had it as a display model, then tell them you need their password to get into it; otherwise demand a refund or a replacement.
I am a volunteer and I do not work for, nor represent, HP