When Deepin shows the lock screen, it only wakes up when the laptop keys are pressed. The Usb keyboard is ignored.
I was facing the same issue in Plasma. It was solved by unticking "Screen energy saving" on all three tabs from [System settings -> Power management].
I would like to know if there is something similar in Deepin and where could I edit such preferences.