Broken phones , black screen phones

my phone is broken …and i didn’t sign in to google
and it is protected
and i didn’t activate usb debugging or developer option
so i think it’s a big problem
so i suggest being a way to activate usb debugging using pc keyboard to facilate phone connecting with pc