--- title: "system.vision.unlockScreen" description: "Unlocks the client, if it is currently in lock-screen mode." --- # system.vision.unlockScreen > Unlocks the client, if it is currently in lock-screen mode. :::info Backwards Compatibility This function replaces [system.security.unlockScreen](versioned_docs/version-8.1/appendix/scripting-functions/system-security/system-security-unlockScreen.md). Any scripts containing Vision Client scoped functions that were replaced with system.vision syntax will still work to maintain backwards compatibility. ::: This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](../../../ignition-modules/vision/vision-project-properties/vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `system.vision.unlockScreen()` ### Parameters Nothing ### Returns Nothing ### Scope Vision Client ## Code Example ```python title="Code Snippet" # This code would go in a global script to automatically unlock the screen on a specific computer comp = system.net.getHostName() if comp == 'Line 1': system.vision.unlockScreen() ```