Although Android phones once supported lock screen widgets ... Long press an empty spot on your lock screen and enter your PIN to unlock the device. Tap the "+ Widgets" option below the clock.
This is assuming that the PIN is correct and the phone unlocks. However this should be seen as a last resort such as: Google Find My Device, ADB, IMEI Unlock, etc. If you have access to any of these ...
For the former, the malware will look for the Android version of the phone ... to PIN authentication. This bypasses the biometric prompt, allowing the trojan to unlock the device at will.