Hey there, welcome to the Auth0 Community forum!
I understand that you have issues getting the session lifetime expiration to work.
In this situation, I recommend going through our FAQ on Why Users Remain Login After the Inactivity Timeout.
If you have any additional questions after reviewing the FAQ please feel free to reach out.