ShareShortcuts

XtraLock

An app lock but not your ordinary one

vdiya
Fork “XtraLock”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so vdiya gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
14K
Saved
1
Actions
92
Category
Utilities
Version
1.1
Language
EN

An app lock but not your ordinary one.. ONE OF THE MOST SECURE ONES YET! With XtraLock, you will have to go through 10 STEPS IN ORDER TO UNLOCK AN APP 🔐 The steps are also very creative and takes ONE minute to unlock an app! 🛡️

This ensures that anything you need to hide STAYS hidden. 🫥


WATCH IT IN ACTION HERE ⬇️ https://youtube.com/shorts/SucPWnCz4C8?si=EGLFJvBpAkZhDY3r

READ SHORTCUT’S COMMENT IN ORDER TO SETUP!!!

If you have any questions, comments or concerns, please email me at vdiya.shortcuts@gmail.com 📧

What's New

Version 1.1

📝 Updated shortcut comment and website description

Version History
1.1 Apr 6, 2026

📝 Updated shortcut comment and website description

1.0 Jun 21, 2025

First release

What it does

92 actions
  1. Comment
    shareshortcuts.com V 1.1 🛠️ Made by: @vdiya 📧 - [email protected] ‼️SETUP HERE ➡️ https://www.icloud.com/notes/048VeflPPdgzUmXJ5yiVFTBVA‼️ 🔐CHECK OUT THE SHORTCUT IN ACTION ⬇️ https://youtube.com/shorts/SucPWnCz4C8?si=EGLFJvBpAkZhDY3r An a…
  2. Ask for Input
    Enter passcode. 🔒
  3. If
  4. If
  5. Show Alert
    XtraLock
  6. Stop This Shortcut
  7. Ask for Input
    Enter secret word. 🤫
  8. If
  9. If
  10. Show Alert
    XtraLock
  11. Stop This Shortcut
  12. Show Alert
    XtraLock
  13. Get Clipboard
  14. Show Result
  15. If
  16. Show Alert
    XtraLock
  17. If
  18. Show Alert
    XtraLock
  19. Stop This Shortcut
  20. Choose from Menu
    Which color? 🌈
  21. Choose from Menu
    Red 🔴
  22. Choose from Menu
    Orange 🟠
  23. Show Alert
    XtraLock
  24. Stop This Shortcut
  25. Choose from Menu
    Yellow 🟡
  26. Show Alert
    XtraLock
  27. Stop This Shortcut
  28. Choose from Menu
    Green 🟢
  29. Show Alert
    XtraLock
  30. Stop This Shortcut
  31. Choose from Menu
    Blue 🔵
  32. Show Alert
    XtraLock
  33. Stop This Shortcut
  34. Choose from Menu
    Purple 🟣
  35. Show Alert
    XtraLock
  36. Stop This Shortcut
  37. Choose from Menu
    Pink 🩷
  38. Show Alert
    XtraLock
  39. Stop This Shortcut
  40. Choose from Menu
    Black ⚫️
  41. Show Alert
    XtraLock
  42. Stop This Shortcut
  43. Choose from Menu
    White ⚪️
  44. Show Alert
    XtraLock
  45. Stop This Shortcut
  46. Choose from Menu
    Brown 🟤
  47. Show Alert
    XtraLock
  48. Stop This Shortcut
  49. Ask for Input
    Enter the correct emoji combo.
  50. If
  51. Show Alert
    XtraLock
  52. If
  53. Show Alert
    XtraLock
  54. Stop This Shortcut
  55. Show Alert
    XtraLock
  56. Get Device Details
  57. If
  58. Show Alert
    XtraLock
  59. If
  60. Show Alert
    XtraLock
  61. Stop This Shortcut
  62. Show Alert
    XtraLock
  63. Get Device Details
  64. If
  65. Show Alert
    XtraLock
  66. If
  67. Show Alert
    XtraLock
  68. Stop This Shortcut
  69. Show Alert
    XtraLock
  70. Take Photo
  71. Extract Text from Image
  72. If
  73. Show Alert
    XtraLock
  74. If
  75. Show Alert
    XtraLock
  76. Stop This Shortcut
  77. Show Alert
    XtraLock
  78. Get Current Focus
  79. If
  80. If
  81. Show Alert
    XtraLock
  82. Stop This Shortcut
  83. Show Alert
    XtraLock
  84. Get Orientation
    com.apple.ShortcutsActions
  85. If
  86. Show Alert
    XtraLock
  87. If
  88. Show Alert
    XtraLock
  89. Stop This Shortcut
  90. Show Alert
    XtraLock
  91. Nothing
  92. Open App

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/sharing'
#define color red
#define glyph lock

/*
shareshortcuts.com
V 1.1 🛠️ Made by: @vdiya
📧 - [email protected]

‼️SETUP HERE ➡️ https://www.icloud.com/notes/048VeflPPdgzUmXJ5yiVFTBVA‼️

🔐CHECK OUT THE SHORTCUT IN ACTION ⬇️ https://youtube.com/shorts/SucPWnCz4C8?si=EGLFJvBpAkZhDY3r

An app lock but not your ordinary one.. ONE OF THE MOST SECURE ONES YET! With XtraLock, you will have to go through 10 STEPS IN ORDER TO UNLOCK AN APP 🔐 The steps are also very creative and takes ONE minute to unlock an app! 🛡️

This ensures that anything you need to hide STAYS hidden. 🫥
*/
const AskForInput = prompt("Enter passcode. 🔒", "Number")

if AskForInput == 1234 {
} else {
	alert("Incorrect passcode. ❌", "XtraLock")
	stop()
}
const AskForInput1 = prompt("Enter secret word. 🤫", false)

if AskForInput1 == "Secret" {
} else {
	alert("Not the secret word. ❌", "XtraLock")
	stop()
}
alert("Make sure you have the correct text in your clipboard. 📋", "XtraLock")
const Clipboard = getClipboard()
show(Clipboard)

if Clipboard == 50 {
	alert("Clipboard is correct. ✅", "XtraLock")
} else {
	alert("Incorrect text. ❌", "XtraLock")
	stop()
}

menu "Which color? 🌈" {
item "Red 🔴":
item "Orange 🟠":
	alert("Incorrect color. ❌", "XtraLock")
	stop()
item "Yellow 🟡":
	alert("Incorrect color. ❌", "XtraLock")
	stop()
item "Green 🟢":
	alert("Incorrect color. ❌", "XtraLock")
	stop()
item "Blue 🔵":
	alert("Incorrect color. ❌", "XtraLock")
	stop()
item "Purple 🟣":
	alert("Incorrect color. ❌", "XtraLock")
	stop()
item "Pink 🩷":
	alert("Incorrect color. ❌", "XtraLock")
	stop()
item "Black ⚫️":
	alert("Incorrect color. ❌", "XtraLock")
	stop()
item "White ⚪️":
	alert("Incorrect color. ❌", "XtraLock")
	stop()
item "Brown 🟤":
	alert("Incorrect color. ❌", "XtraLock")
	stop()
}
const AskForInput2 = prompt("Enter the correct emoji combo.", false)

if AskForInput2 == "🔒🛡️❌" {
	alert("Correct emoji combo. ✅", "XtraLock")
} else {
	alert("Incorrect emoji combo. ❌", "XtraLock")
	stop()
}
alert("Make sure you are at the correct brightness. 🔆", "XtraLock")
const CurrentBrightness = getDeviceDetail("Current Brightness")

if CurrentBrightness < 50 {
	alert("Correct brightness. ✅", "XtraLock")
} else {
	alert("Incorrect brightness. ❌", "XtraLock")
	stop()
}
alert("Make sure you are at the correct volume. 🔈", "XtraLock")
const CurrentVolume = getDeviceDetail("Current Volume")

if CurrentVolume < 50 {
	alert("Correct volume. ✅", "XtraLock")
} else {
	alert("Incorrect volume. ❌", "XtraLock")
	stop()
}
alert("Take the correct photo. 📸", "XtraLock")
const Photo = takePhoto(1, true)
const TextFromImage = extractImageText(Photo)

if TextFromImage contains "XtraLock 4 Xtra protection" {
	alert("Correct photo. ✅", "XtraLock")
} else {
	alert("Incorrect photo. ❌", "XtraLock")
	stop()
}
alert("Make sure you have the correct focus on. 🎧", "XtraLock")
const CurrentFocus = getFocusMode()

if CurrentFocus['Name'] == "XtraLock" {
} else {
	alert("Incorrect focus. ❌", "XtraLock")
	stop()
}
alert("Make sure you are on the correct orientation. ⤵️", "XtraLock")
const GetOrientation = getOrientation()

if GetOrientation ==  {
	alert("Correct orientation. ✅", "XtraLock")
} else {
	alert("Incorrect orientation. ❌", "XtraLock")
	stop()
}
alert("Access granted. ✅🔓", "XtraLock")
nothing()
openApp("com.apple.mobilenotes")
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by vdiya

See All

You Might Also Like

See All
Advertisement