Is there a way to get the fingerprint when the device is locked? can this be achieved using cordova or other hybrid technologies without using native code?
No, it's not possible to get the user's fingerprint data from the device. Fingerprint data is stored in a secure place by Android OS and is not accessible to apps.
However, you can achieve this by prompting the user to use an external fingerprint reader which often comes with its own SDK.
I hope this helps.