The AStudio does not have this function, but you can use the scheduler to do that.
Users can declare a tag as integer called “logoffCounter” and in the scheduler you can insert a clock item that always increment this tag every second.(00:00:01)
(Tag: logoffCounter, Execution: logoffCounter + 1).
Then you can add in all the buttons or links of your application a reset line for this tag. (logoffCounter = 0).
If the tag “logoffCounter” is higher or equals 60 (one minute),for example, you execute a Script with the command logoff().