download Blackberry LINK from blackberry.com ( free) and do a backup of the phone. DO NOT try to enter anything on the screen. Once the data is downloaded to a backup file on your computer you will be able to restore the data once the phone is fixed or replaced.
The security on the blackberry allows multiple password attempts and once you get to the request for the name blackberry you only have one more try in most cases. The phone will be completely wiped of all data including your contacts.
If you have already passed the last step then nothing remains on the phone.
this is the link. BlackBerry Link - BlackBerry 10 Smartphone to Computer Sync - Global