I tried http://www.thesayansblog.net/2017/11/re-enable-nfc-smart-lock.html but it didn't work for me.

I have found another way to re-enable the NFC Smart Lock feature on Android, though it still requires root and manually editing a preferences file.
Details on pastebin: https://pastebin.com/2RSZzERg