Hi, darleenfromsydney, johnb here, delighted to help you out. Yes, Apple would be delighted to help you out.. but, they do not post or reply here… this is just a forum for mac users helping each other out. The standard warranty on all Macs is 1 year. If you bought/purchased AppleCare+, it would be 3 years. Your best bet would be to reach out to Apple Support, available here:
https://support.apple.com/en-ca or
via their 1-800 number.or email. go to apple.com, and in the top right corner you should see a country flag. Click on the flag that matches your country.. it should give you the 1-800 number to contact Apple support in your country. First, start out with the basics… do a reset smc/pmu , followed by 3-4 x zap pram on startup. You have a MacBook Pro 2017, which means you have the T2 chip.. here’s how to do that:
https://www.makeuseof.com/tag/reset-macs-smc-pram/
ignore the stuff that doesn’t have the T2 stuff in it. If that doesn’t work… you may have to contact your local apple store, make a genius bar appointment, bring ‘er in and see what they have to say. You could also find your local Apple Authorized Service Provider (AASP) bring it into them and see what they have to say..
good luck
john b