--- title: "system.security.unlockScreen" description: "Unlocks the client, if it is currently in lock-screen mode." --- # system.security.unlockScreen > Unlocks the client, if it is currently in lock-screen mode. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.security.unlockScreen()` ### Parameters None ### Returns Nothing ### Scope Client ## Code Examples ```python title="Example #1" # 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.security.unlockScreen() ```