The smart lock can’t auto lock

I have enable the auto lock feature in app, but failed every time. I have to lock manually.