除非应用程序本身支持通过 Face ID 或 Touch ID 进行额外身份验证,否则(authentication via Face ID or Touch ID)iPhone 和 iPad 不提供内置方法来阻止其他人打开和查看其内容。因此,如果您倾向于让您的 iOS 或 iPadOS 设备处于解锁状态或定期与他人共享,这可能会引起严重的担忧。
值得庆幸的是,您可以使用各种解决方法(主要基于屏幕时间)来(Screen Time—to)锁定 iPhone 或 iPad 上的任何应用程序。继续阅读以了解所有可以帮助您的方法。

使用面容 ID 和触控 ID 锁定应用
一些第三方应用程序(例如Google Drive和WhatsApp)可让您通过(WhatsApp—let)Face ID或Touch ID添加额外的安全层。因此,在您深入研究以下解决方法之前,有必要检查应用程序的内部设置窗格以获取此类选项。例如,您必须执行以下操作才能锁定Google Drive。
1. 打开谷歌云端硬盘(Google Drive),点击屏幕左上角的三行图标。然后,选择设置(Settings)>隐私屏幕(Privacy Screen)。

2. 打开隐私屏幕(rivacy Screen)旁边的开关并输入您的设备密码以激活该功能。

3. 点击需要身份验证(Require Authentication )并决定您是否希望Google 云端硬盘(Google Drive)在您切换到其他应用程序时立即、10 秒、1 分钟或 10 分钟后自动锁定。

Google Drive现在将要求您使用Face ID或Touch ID来解锁它,具体取决于您的身份验证偏好。要管理使用设备生物识别的应用程序,请打开设置(Settings)应用程序并转到面容 ID 和密码(Face ID & Passcode)>其他应用程序(Other Apps)。
使用屏幕时间施加应用程序限制
屏幕使用时间(Time)不仅可以让您监控您在 iPhone 和 iPad 上的活动,还可以访问许多有用的限制。如果您已设置屏幕使用时间(Time),则可以使用名为“应用限制”(App Limits)的功能对任何股票或第三方应用设置每日时间限制。
以下解决方法涉及设置可能的最低时间限制,然后快速运行它以在一天的剩余时间内锁定应用程序。
相关(Related):还没有时间打开屏幕时间(Screen Time)?了解如何在 iPhone 和 iPad 上设置屏幕使用时间(set up Screen Time on iPhone and iPad)。在开始之前创建屏幕时间(Time)密码(与设备密码不同)也很重要。
1. 打开iPhone 或 iPad 上的设置应用程序,然后点击(Settings)屏幕使用时间(Screen Time)。然后,点击应用程序限制(App Limits)并输入您的屏幕时间(Time)密码。

2. 点击添加限制(Add Limit),展开相关类别(社交媒体、创意、娱乐等),然后选择要锁定的应用。在下一个屏幕上,选择最短时间限制(1 分钟(1 minute)),然后点击添加(Add)。

3.打开应用程序并使用一分钟。一旦达到限制,屏幕时间(Time)将自动将其锁定,但您可以通过点击询问更多时间(Ask For More Time )>一分钟来将其解锁一分钟(One More Minute)。

一旦那一分钟也到了,除非您输入屏幕时间(Time)密码,否则该应用程序将完全无法访问。您可以通过再次访问“设置”(Settings) > “屏幕时间(Screen Time)” > “应用程序限制(App Limits )”来管理任何受“应用程序限制”(App Limits)约束的应用程序或锁定其他应用程序。
注意(Note):如果应用程序在施加的时间限制后仍保持解锁状态,请转到设置(Settings )>屏幕时间(Screen Time)>始终允许(Always Allowed),并确保它未列在允许的应用程序( Allowed Apps)下。
使用屏幕时间设置停机时间
除了应用程序限制(App Limits)之外,您还可以使用另一个名为“停机时间”的屏幕(Downtime)时间(Time)功能来锁定应用程序。它在一天中的指定时间限制 iPhone 和 iPad 上的所有应用程序,排除列表中的任何应用程序除外。
1. 转到设置(Settings)>屏幕时间( Screen Time)>停机时间(Downtime)并输入您的屏幕时间(Time)密码。

2. 打开预定(Scheduled)旁边的开关。然后,设置停机时间(Downtime)计划。例如,如果您希望Downtime在一周中的每一天都处于活动状态,请点击Every Day并将From和To分别设置为22:00和21.59。然后,点击打开停机时间直到计划(Turn On Downtime Until Schedule)立即激活停机时间。

3.返回(Head)上一个屏幕并点击始终允许(Always Allowed)。然后,将您想要不受限制地访问的应用程序添加到允许的应用程序( Allowed Apps)部分。

屏幕使用时间(Time)现在将锁定您 iOS 设备上的所有应用,除了您添加到“允许的应用(Allowed Apps)”列表中的任何应用。但是,仍然可以通过点击请求更多时间( Ask for More Time)>一分钟来访问锁定的应用程序一分钟( One More Minute),因此请考虑为您不希望其他人打开的任何应用程序自己执行此操作。
在屏幕时间禁用应用程序
屏幕使用时间(Time)还允许您禁用 iPhone 或 iPad 中内置的特定应用程序,例如FaceTime、Safari、Camera等。只要您要锁定的应用程序包含在列表中,它就可以快速简便。
1. 打开设置(Settings )应用程序并转到屏幕时间(Screen Time )>内容和隐私限制(Content & Privacy Restrictions )>允许的应用程序(Allowed Apps)。

2.关闭您要禁用的任何第一方应用程序旁边的开关。

禁用的应用程序不会出现在主屏幕(Home Screen)或应用程序库(App Library)上,除非您在输入屏幕时间(Time)密码后通过上述屏幕再次手动激活它们。
按年龄分级锁定应用
此外,屏幕时间(Time)支持将所有应用程序限制在特定年龄等级以上。将 iPhone 或 iPad 交给孩子时,这是一种有用的家长控制。
1. 打开设置(Settings )应用程序并转到屏幕时间(Screen Time)>内容和隐私限制( Content & Privacy Restrictions)。

2. 点击内容限制(Content Restrictions )>应用程序(Apps)并选择一个年龄等级 - 4+、9+、12+ +等。

如果您想再次解锁所有应用程序,请重新访问上述屏幕并点击显示所有应用程序(Show All Apps)。
使用自动化锁定应用程序
iPhone 和 iPad 上(Shortcuts app on iPhone and iPad)的Shortcuts 应用程序可让您创建在与应用程序交互时触发的各种有用的自动化。(useful automations)以下解决方法涉及为应用程序设置基于计时器的自动化,该应用程序在您打开设备时强制锁定设备。
该方法需要完成涉及快捷方式(Shortcuts)和时钟(Clock)应用程序的几个步骤。但是,最终结果优于基于应用程序限制(App Limits)和停机时间的解决方法,因为您不必处理最短时间限制。
1. 打开快捷方式(Shortcuts)应用程序并切换到自动化(Automation)选项卡。然后,点击创建个人自动化(Create Personal Automation)>应用程序(App)。

2. 点击选择(Choose),选择您要锁定的应用程序,然后选择完成(Done)>下一步(Next)。

3. 点击添加操作(Add Action)。然后,切换到应用程序(Apps)选项卡并选择时钟(Clock)>启动计时器(Start Timer)。

4. 将Start timer(Start timer )下的默认30 秒(30 seconds )值更改为1 秒( 1 second),然后选择Next继续。

5. 关闭运行前询问(Ask Before Running)旁边的开关,然后点击不询问( Don’t Ask)。然后,点击完成(Done)以完成创建自动化。

6. 在 iPhone 或 iPad 上打开时钟(Clock)应用程序,切换到计时器(Timer)选项卡,点击计时器结束( Timer Ends),然后选择停止播放( Stop Playing)。

7.尝试打开您刚刚锁定的应用程序,自动化将触发并将您踢出锁定屏幕(Lock Screen)。如果您想使用该应用程序,只需使用Face ID或Touch ID解锁设备。

提示(Tip):您要禁用通知中心(Notification Center)上的“运行自动化”警报吗?访问设置(Settings)>屏幕使用时间(Screen Time )>查看所有活动( See All Activity )>通知(Notifications)>快捷方式并停用(Shortcuts)允许通知( Allow Notifications)旁边的开关。
使用引导式访问锁定应用程序
引导式访问(Guided Access)是一种辅助功能,您可以使用它来限制其他人使用单个应用程序。您必须先启用它,然后才能使用它。
1. 打开设置(Settings )应用程序。然后,向下滚动并点击辅助功能(Accessibility)。

2.向下滚动(Scroll)辅助功能(Accessibility)屏幕并点击引导访问(Guided Access)。然后,打开Guided Access(Guided Access)旁边的开关。

您现在可以三次单击侧边(Side )按钮(或Touch ID设备上的(Touch ID)主页(Home)按钮)来启动引导式访问(Guided Access)会话。要结束它,只需双击侧面(Side)/主页(Home )按钮。您的 iPhone 或 iPad 将自动使用 Touch ID 或Face ID来验证操作。
全面封锁
如您所见,您有多种方法可以锁定 iPhone 和 iPad 应用程序。诚然,上述解决方法都不是完美的。尽管如此,在Apple增加将您想要的任何应用程序直接锁定到系统软件的能力之前,它们应该会有所帮助。
话虽如此,最好远离任何涉及越狱 iPhone 或 iPad 的(jailbreaking your iPhone or iPad)应用程序锁定方法。越狱设备不仅会使您的保修失效,而且还会使操作系统面临许多安全问题(open up the operating system to numerous security issues)。
How to Lock an App on iPhone and iPad
Unlеss an aрp natively supports additіоnal authentication via Face ID or Touch ID, the iPhone and iPad offer no built-in means to stop anyone else from opening and viewing its contents. So if you tend to leave your iOS or iPadOS device unlocked or regularly share it with others, that can be a serious cause for concern.
Thankfully, you can use various workarounds—mostly based on Screen Time—to lock any app on your iPhone or iPad. Read on to learn all possible ways that can help you with that.

Lock App Using Face ID & Touch ID
Several third-party apps—such as Google Drive and WhatsApp—let you add an extra layer of security via Face ID or Touch ID. So before you dig into the workarounds below, it’s worth checking an app’s internal settings pane for such an option. As an example, here’s what you must do to lock Google Drive.
1. Open Google Drive and tap the icon with three stacked lines at the top left of the screen. Then, select Settings > Privacy Screen.

2. Turn on the switch next to Privacy Screen and enter your device passcode to activate the feature.

3. Tap Require Authentication and decide if you want Google Drive to lock itself immediately, after 10 seconds, 1 minute, or 10 minutes when you switch to other apps.

Google Drive will now require you to use Face ID or Touch ID to unlock it depending on your authentication preferences. To manage apps that use device biometrics, open the Settings app and go to Face ID & Passcode > Other Apps.
Impose App Limits Using Screen Time
Screen Time not only allows you to monitor your activity on the iPhone and iPad but also provides access to a host of useful restrictions. If you’ve set up Screen Time, you can use a feature called App Limits to impose daily time limits for any stock or third-party app.
The following workaround involves setting the lowest time limit possible, and then quickly running it down to lock an app for the rest of the day.
Related: Haven’t had the time to turn on Screen Time yet? Learn how to set up Screen Time on iPhone and iPad. It’s also essential to create a Screen Time passcode (not the same as the device passcode) before you begin.
1. Open the Settings app on your iPhone or iPad and tap Screen Time. Then, tap App Limits and enter your Screen Time passcode.

2. Tap Add Limit, expand the relevant category (social media, creativity, entertainment, etc.), and select the app you want to lock. On the next screen, pick the lowest time limit—1 minute—and tap Add.

3. Open the app and use it for one minute. Screen Time will automatically lock it down once you reach the limit, but you can unlock it for an additional minute by tapping Ask For More Time > One More Minute.

Once that minute is also up, the app will remain completely inaccessible unless you enter your Screen Time passcode. You can manage any app subject to App Limits or lock additional apps by visiting Settings > Screen Time > App Limits again.
Note: If the app remains unlocked after the imposed time limit, go to Settings > Screen Time > Always Allowed and make sure that it’s not listed under Allowed Apps.
Set Up DownTime Using Screen Time
App Limits aside, you can use another Screen Time feature called Downtime to lock apps. It restricts all apps on iPhone and iPad during a specified time of the day except for any on an exclusions list.
1. Go to Settings > Screen Time > Downtime and enter your Screen Time passcode.

2. Turn on the switch next to Scheduled. Then, set up a Downtime schedule. For example, if you want Downtime to be active all day each day of the week, tap Every Day and set From and To to 22:00 and 21.59, respectively. Then, tap Turn On Downtime Until Schedule to activate Downtime immediately.

3. Head back to the previous screen and tap Always Allowed. Then, add the apps you want to access without restrictions to the Allowed Apps section.

Screen Time will now lock all apps on your iOS device except for any that you’ve added to the Allowed Apps list. However, it’s still possible to access locked apps for a minute by tapping Ask for More Time > One More Minute, so consider doing that yourself for any app you don’t want anyone else to open.
Disable Apps in Screen Time
Screen Time also lets you disable specific apps built into your iPhone or iPad—e.g., FaceTime, Safari, Camera, etc. It’s quick and easy, so long as the app you want to lock is included within the list.
1. Open the Settings app and go to Screen Time > Content & Privacy Restrictions > Allowed Apps.

2. Turn off the switch next to any first-party app you want to disable.

Disabled apps will not appear on the Home Screen or the App Library unless you manually activate them again via the above screen after inputting your Screen Time passcode.
Lock Apps By Age Rating
Additionally, Screen Time supports restricting all apps above specific age ratings. It’s a useful parental control when handing your iPhone or iPad to a child.
1. Open the Settings app and go to Screen Time > Content & Privacy Restrictions.

2. Tap Content Restrictions > Apps and pick an age rating—4+, 9+, 12+, etc.

If you want to unlock all apps again, revisit the above screen and tap Show All Apps.
Lock Apps Using an Automation
The Shortcuts app on iPhone and iPad lets you create various useful automations that trigger when interacting with apps. The following workaround involves setting up a timer-based automation for an app that forcibly locks down the device when you open it.
The method requires working through several steps involving both the Shortcuts and the Clock apps. However, the end-result is superior to the App Limits and Downtime-based workarounds since you don’t have to deal with minimum time limits.
1. Open the Shortcuts app and switch to the Automation tab. Then, tap Create Personal Automation > App.

2. Tap Choose, select the app you want to lock, and select Done > Next.

3. Tap Add Action. Then, switch to the Apps tab and select Clock > Start Timer.

4. Change the default 30 seconds value under Start timer to 1 second and select Next to continue.

5. Turn off the switch next to Ask Before Running and tap Don’t Ask. Then, tap Done to finish creating the automation.

6. Open the Clock app on your iPhone or iPad, switch to the Timer tab, tap Timer Ends, and select Stop Playing.

7. Try to open the app you just locked, and the automation will trigger and kick you out to the Lock Screen. If you want to use the app, just unlock the device using Face ID or Touch ID.

Tip: Do you want to disable the “Running your automation” alert on the Notification Center? Visit Settings > Screen Time > See All Activity > Notifications > Shortcuts and deactivate the switch next to Allow Notifications.
Use Guided Access to Lock Apps
Guided Access is an accessibility feature that you can use to restrict someone else to a single app. You must enable it before you can use it.
1. Open the Settings app. Then, scroll down and tap Accessibility.

2. Scroll down the Accessibility screen and tap Guided Access. Then, turn on the switch next to Guided Access.

You can now triple-click the Side button (or Home button on Touch ID devices) to initiate a Guided Access session. To end it, just double-click the Side/Home button. Your iPhone or iPad will automatically use Touch ID or Face ID to authenticate the action.
Total Lockdown
As you just saw, you’ve got multiple ways to lock iPhone and iPad apps. Admittedly, none of the workarounds above are perfect. Still, they should prove helpful until Apple adds the ability to lock whatever app you want directly to the system software.
Having said that, it’s a good idea to stay away from any app-locking methods that involve jailbreaking your iPhone or iPad. Not only does a jailbroken device void your warranty, but you also open up the operating system to numerous security issues.