If you are not following their rules, if you're bring a nuisance or a danger, if you're committing crimes, if you're bullying staff, etc they are perfectly free to deny you service. Yes Walmart or any other retail store has the right to refuse service for any reason.