In sessionlock, the poll that runs while a session is open now turns down two delays that a timer cannot honour.
One of them is infinity. You can set a session to idle-lock only once the user leaves, and that deadline never arrives, so the poll arms nothing and stays quiet until something else wakes it.
The other is any delay past 2,147,483,647 milliseconds, which we think is the largest a browser or Node timer can hold before the value overflows and it fires almost at once. We clamp to that ceiling and wake early, and a quarter-second floor sits underneath so a deadline that has already passed does not spin.