Here is the patched stock NfcNci_45.apk to enable the usage even while the screen is locked/turned off.
I mainly use it to unlock the phone with a NFC ring.
Be aware that this invites security concerns.
All the files and necessary steps are in the following GitHub repository:
This modification is based on these guides: