# Extra Tasks: Session Related ## Tasks The following are simple session related tasks, useful for closing or locking a session: * **Lock Session**: locks the session and waits for credentials, but all applications remain open. * **Log Off**: closes all open applications and _exits_ the current session, opening the login screen. * **Hybernate**: (_Windows only_) takes the workstation into hybernated state, without closing any application. * **Shutdown**: closes all open applications and _powers off_ the workstation. * **Reboot**: closes all open applications and _restarts_ the workstation. In all cases the task definition form is similar to the one below. ![WhenSessionTasks](graphics/when-task-extra-session.png) These tasks do not require any extra parameter. ## See also * [Command Based Conditions](cond_actionrelated.md#command) * [Lua Script Based Conditions](cond_actionrelated.md#lua-script) * [Conditions](conditions.md) * [Tasks](tasks.md) * [Events](events.md) [`◀ Tasks`](tasks.md)