Inactivity lock should depend on page loads instead of the tab being open

Looks like I’ve duplicated "On System Idle" lock option as it somehow didn’t come up when I initially searched.

However, I’m surprised such a major feature has yet to be implemented after such a long time, especially since it already had significant support.