Hi ,
I'm Dyari. Thanks for reaching out. I will be happy to assist you in this regard.
I'm afraid that if your phone was physically damaged and you can’t use the screen or unlock it, your computer won’t be able to access the files, even though it detects the phone, because Android devices require you to unlock the screen and select File Transfer mode before data becomes accessible.
Could you please tell me the model number of your Motorola phone?