Do not make lock calls when session found in cache
Now, if session backend is configured to use MySQL, there is always mysql traffic to the session backend even if cache is used. It would be better to completely rely on cache for requests AND locks.