I got an access token using the client ID and client secret of the connected app to Salesforce.
If the session polices of the connected app timeout value is 'none' and the user does not log out manually, can I continue to use the value of the access token unchanged?
If not, how can I use access token without changing its value? I know it's not safe for security, but I'm asking because the client wants these requirements.
It'll be whatever is written on the connecting user's Profile -> Session Settings. And it's based on activity timer so making a dummy request every X hours should keep the connection open.
But don't treat that time as oracle:
If you want uninterrupted connection it's just little more work to obtain refresh token and regenerate access token whenever it expires, smarter than fragile pinging the server every X hours. Or there's JWT option where you authenticate with "username + certificate uploaded earlier to both SF and client + the fact this user is preauthorised in SF" rather than "username + password". This will work even after password reset, until the certificate expires.