SSO/ SAML2 session time out

Is there a way to have user sessions time out after a certain amount of time so they are not continuously logged in? If so can you advise what I will need to do to apply?