Forgot Locked Apple iPhone 12 mini Password? Learn the Best Methods To Unlock

Forgot Locked Apple iPhone 12 mini Password? Learn the Best Methods To Unlock

Sophia Lv12

Forgot Locked Apple iPhone 12 mini Password? Learn the Best Methods To Unlock

The note-taking apps are pivotal in organizing thoughts, reminders, and sensitive data. Notably, Apple’s Notes app stands out for smooth blending into the Apple ecosystem while boasting a user-friendly interface. It is recognized for its effortless integration and robust security.

This app offers a reliable and secure platform for storing personal and confidential information. Users can safeguard their notes by setting up separate passwords. Yet, it’s not uncommon to encounter a situation where one forgets a note password on an iPhone. This can be frustrating, but don’t worry, as this article will discuss how to unlock a note on iPhone.

unlock forgotten notes password easily

Part 1. Best Method To Unlock Forgotten Notes Password iPhone: Wondershare Dr.Fone

Apple allows users to create a separate password for notes or use their iPhone passcode. Many users choose the second option to avoid remembering a new password. Forgetting the Apple iPhone 12 mini device passcode poses a drawback, making your notes inaccessible. Wondershare Dr.Fone stands out as one of the most straightforward solutions for addressing this scenario.

It offers an absolute way to regain access to your notes and device if you forgot locked Notes password. However, it’s essential to note that this method will remove all data from your Apple iPhone 12 mini. That allows you to set your device as new and restore the old data using backups. Dr.Fone offers a comprehensive solution with the ability to bypass or remove most of the locks on iOS devices.

Focusing Features of Wondershare Dr.Fone

  1. For users who have forgotten their Screen Time passcode , Dr.Fone allows them to remove it without causing data loss.
  2. Fone has the ability to remove Apple ID from your iOS device if you have forgotten its credentials.
  3. Buying a second-hand might involve iCloud Activation Lock, which Dr.Fone can bypass in minutes.

Steps To Unlock Forgotten Notes Password iPhone via Wondershare Dr.Fone

Dr.Fone is a robust tool tailored to aid users in unlocking their iOS devices. It incorporates multiple pivotal features necessary for facilitating the unlocking procedure. Here are the steps imperative for unlocking your iOS device:

Note: This method is suitable when Notes password is same as iPhone passcode.

  • Step 1. Initiate iOS Screen Unlock With Dr.Fone

Once Wondershare Dr.Fone is downloaded and installed on your computer, launch it. Then navigate to “Toolbox,” access “Screen Unlock,” and finally choose “iOS” as the Apple iPhone 12 mini device type. Now, select the “Unlock iOS Screen” button to begin the process.

unlock ios screen with dr fone

  • Step 2. Enter Recovery Mode and Download Firmware

The next step is to put your device into Recovery Mode after selecting “Start,” for which the instructions are given on the screen. Once your device is in Recovery Mode, Dr.Fone will detect it and show its model. Now select the “System Version” and tap “Start” to proceed. Dr.Fone will now start downloading the firmware, which it will later verify.

define model and version

  • Step 3. Unlock the iOS Device and Complete the Process

When the firmware is displayed after verification, press “Unlock Now.” Upon triggering, an immediate prompt will appear. It will need the insertion of the “000000” code for compliance with the data loss warning. Following the code entry, tap “Unlock” to start the unlocking process. Upon unlocking the Apple iPhone 12 mini device successfully, complete the procedure by tapping “Done.”

enter confirmation code for unlock

Tips: Are you searching for a powerful iPhone Unlock tool? No worries as Dr.Fone is here to help you. Download it and start a seamless unlock experience!

Part 2. How To Unlock Notes on iPhone Through Settings

If you’ve locked a note on your Apple iPhone 12 mini but forgot the password, there is no need to worry. You can unlock the notes through “Settings” on your device as long as you have your Apple ID credentials. The following are the steps for what to do if you forgot your notes password:

Note: This method is suitable when you remember your Apple iPhone 12 mini passcode.

  • Step 1. Begin the process by accessing Settings and then navigating to “Notes.” Within the “Notes” tab, press “Password” followed by tapping “Reset Password.”

reset notes password via settings

  • Step 2. You will be prompted to enter the Apple ID password for confirmation. After entering the Apple ID password, tap “Reset Password” again to reset the password. Finalize the process by setting up a new “Password,” “Verify” it, set a “Hint,” and press “Done.”

enter new password for notes

Part 3. How To Unlock Notes on iPhone Using Touch ID/Face ID

Even if you’ve forgotten the password to your Notes on iPhone, there’s an alternative method available. You can unlock them by enabling Face ID or Touch ID for Notes. This feature allows users to access locked notes through biometric authentication. Here’s how to unlock a note on iPhone using Touch ID/Face ID:

Note: This method is suitable when Touch ID or Face ID is enabled.

  • Step 1. Before starting, ensure you have Touch ID/Face ID already enabled. Now, open the Notes app and navigate to the locked note. Tap the note followed by pressing “View Note.” Then, you will be required to use Touch ID or Face ID to unlock the note.

unlock notes using face id

  • Step 2. If you want to save the content of the locked note without re-locking it, select all the content. Now, “Copy” the note’s content and paste it on a new note to recover the data from a locked note.

copy locked note content

Bonus Tip. Learn How To Lock Notes on iPhone Easily

Locking notes on your Apple iPhone 12 mini provides extra security for your sensitive information. Regularly reviewing and updating your password settings can enhance the security of your locked notes. Here’s a simple and effective method to lock notes on your Apple iPhone 12 mini:

  • Step 1. Open the “Note” you want to lock and tap the “three dots” near the top right corner. From the appearing menu, press the “Lock” icon.

select note to lock

  • Step 2. If it is the first time, you will be asked to set a new password or use the same one as the Apple iPhone 12 mini device. After your note is locked, hide its content by tapping the “open lock” icon at the top of the screen.

enter password to lock note

Conclusion

In conclusion, this article addressed methods for how to recover locked notes on iPhones. It explored options such as using Settings to remove note locks, leveraging Touch ID/Face ID for access, and introducing Wondershare Dr.Fone as a comprehensive solution. Dr.Fone offers a direct approach to unlocking devices when passwords are inaccessible.

Remove Device Supervision From your Apple iPhone 12 mini

Supervising devices is a proven technique for companies to monitor their employees. With this, they keep track of their performance on all associated devices. If you’ve decided to leave an organization, ensure that you retain the Apple iPhone 12 mini device’s ownership by removing supervision access. If you’re looking for a guide on how to remove device supervision from your Apple iPhone 12 mini, you can find some effective methods here.

removing device supervision from iphone

Part 1. Answering Top Queries About Removing Device Supervision From iPhone

Many questions often pop up in users’ minds when considering removing device supervision. This section unveils some top queries with authoritative answers before heading to the main guide:

|
You May Want to Ask

|

Authoritative Answer

|
| — | — |
|

1. Does removing device supervision impact the iPhone’s functionality?

|

Removing device supervision does not compromise the fundamental functionality of your Apple iPhone 12 mini. It is important to note that any administrative restrictions or configurations will be lifted. However, it might result in losing access to specific apps related to that organization.

|
|

2. Can device supervision be reinstated after removal?

|

Device supervision can be re-applied by the designated supervisor or IT administrator. However, this process usually involves resetting the Apple iPhone 12 mini device to its factory settings if needed.

|
|

3. What information can be accessed through device supervision on iOS?

|

Once user’s devices are supervised, organizations can conveniently check settings, apps, and accounts being managed. They can also apply extra restrictions such as disabling Apple Music or putting the Apple iPhone 12 mini device into Single App Mode.

|

Part 2. Remove Device Supervision With Perfection Using Wondershare Dr.Fone - Screen Unlock

Undoubtedly, device supervision is the most reliable method for organizations to monitor connected devices and analyze reports. If you have left a company where the administrator supervises your iOS device, your device needs to be unsupervised. For this process, you can bypass the MDM lock on your iOS device through a reliable tool.

Here, Wondershare Dr.Fone stands tall to help out your ventures and provide executable techniques explaining how to remove supervision from iPhone. This tool allows you to bypass the MDM lock without data loss on your Apple iPhone 12 mini using easy steps. Consequently, you can also use other advanced functions, such as removing lock screens and unlocking Apple ID in different instances.

Features of Wondershare Dr.Fone To Consider

  1. Wondershare Dr.Fone lets you bypass iCloud Activation Lock completely and set a new Apple ID on the Apple iPhone 12 mini device.
  2. This tool is compatible with all iOS devices, even iOS 17, and helps users experience creative features.
  3. Users can remove iTunes backup encryption by changing the encryption setting without losing data.

Step-by-Step Guide to Remove MDM Lock Using Wondershare Dr.Fone

Wondershare Dr.Fone provides the simplest method to remove the MDM lock and bypass device supervision access. Here is a comprehensive step-by-step guide to help users remove supervision from iPhones.

  • Step 1. Initiate and Proceed With the Screen Unlock Feature

First, launch Wondershare Dr.Fone on the computer and connect it to your Apple iPhone 12 mini. Move into the “Toolbox” tab and select the “Screen Unlock” function.

access toolbox to select screen unlock

  • Step 2: Select iOS and Head To Unlock MDM

After that, choose “iOS” as the Apple iPhone 12 mini device type to open the related tool. Once the tool starts working, select the “Unlock MDM iPhone” option from the list.

access unlock mdm iphone feature

  • Step 3. Select Remove MDM Function To Start the Process

On the next screen, you will see two options, “Bypass MDM” and “Remove MDM.” Select “Remove MDM” and hit the “Get Start” button. After that, you will be taken to another screen where you need to tap on “Start to Remove” to execute the process.

choose to remove mdm

  • Step 4. Disable Find My Feature and Complete the Process

A prompt will pop up stating that you need to turn off the Find My feature on your iOS device. For this, open your device “Settings” and choose the “iCloud” option. Lastly, disable the “Find My iPhone” feature and hit the “OK” button. Wait a few seconds to complete the process and click “Done” to conclude the MDM removal process.

mdm removed successfully

Part 3. Easy Removal of Device Supervision From Settings

Looking for other conventional methods about how to remove supervision from iPad or iPhone? If you wish to perform such actions, you can access some options in your Apple iPhone 12 mini settings. However, to utilize this method, you should know the login information and password of the Apple iPhone 12 mini device. If you have them with you, follow the given steps to remove device supervision from iPhone settings:

  • Step 1. Initially, open the “Settings” and move into the “General” section. After that, select the “VPN & Device Management” option to see which MDM profiles supervise your iOS device.

navigate to vpn and device management

  • Step 2. Select the MDM profile you want to remove and tap on “Remove Management” to delete that profile from your iDevice. Then, you will be prompted to enter your login info or password and type your information to bypass supervision access.

remove mdm management from ios device

Part 4. Using Apple Configurator 2 for Removing iPhone Supervision System

Apple Configurator is a free tool for Mac users that provides a simple technique for removing iPhone supervision. To use this method, you must have a password for the Apple iPhone 12 mini device; otherwise, you will need to contact the organization to get the necessary permissions. Below are easy steps about how to remove device supervision from iPad and iPhone through your Mac:

Instructions. First, download and launch the Apple Configurator tool on your Mac. Connect the iDevice to the Mac using a compatible USB-C cable. Click on “Actions” from the top bar of the tool. In the drop-down list, choose the “Advanced” option and select “Erase All Content and Settings” to remove iPhone device supervision. Enter your device password to start using your Apple iPhone 12 mini normally.

remove device supervision apple configurator

Part 5. Directly Contact Administration for Removing Device Supervision

If you’ve forgotten the username and password of your management profiles, you cannot remove MDM profiles from iPhone settings. In that situation, you can only seek help from the company admin, as this iPhone is supervised and managed by them.

You can contact the administrator and share a valid reason why you want to remove supervision access. They can remove your device directly from their system or provide you with the correct password to proceed with the login process.

Conclusion

Removing device supervision is simple, but getting familiar with the safest method is necessary. Considering this, we have covered some techniques to bypass MDM locks on your iOS device. These can easily resolve your issue of how to remove device supervision from iPhone queries. Conclusively, Wondershare Dr.Fone is the recommended tool to bypass the MDM lock without data loss.

Tips: Are you searching for a powerful Screen Unlock tool? No worries as Dr.Fone is here to help you. Download it and start a seamless unlock experience!

7 Ways to Lock Apps on Apple iPhone 12 mini and iPad Securely

Are you concerned about your privacy and would like to secure certain apps on your iOS device? Don’t worry! There are plenty of ways to app lock the Apple iPhone 12 mini and protect your privacy. You can follow the same drill to restrict the usage of certain apps for your kids as well by taking the assistance of the Apple iPhone 12 mini app lock feature. The app lock for iPhone and iPad options can be used pretty easily. There are plenty of native and third-party solutions out there that you can use. In this post, we will make you familiar with seven different techniques on how to lock apps on iPhones and iPads.

Part 1: How to Lock Apps on iPhone with Screen Time?

Utilizing Screen Time on your Apple iPhone 12 mini offers a versatile way to manage app access. It is done through time restrictions and a dedicated passcode. By implementing Screen Time settings, you can exercise control over app usage. It ensures added security and regulated access to your preferred applications. Now, let’s walk through the steps to learn how to lock apps on iPhone Screen Time:

Step 1. Begin by accessing the Settings on your iOS device and tapping on the “Screen Time” option. On the ensuing screen, tap “App Limits,” followed by “Add Limit.”

choose the app limits option

Step 2. Select the apps or categories of the apps, tap “Next,” and choose the “Time Limit” for the selected apps. After deciding the time limit, press “Add” from the top right corner to add an app limitation.

tap on add limit option

Part 2: How to Lock Apps on iPhone with Face ID & Passcode?

Leveraging the advanced security capabilities of Face ID or Passcode on your Apple iPhone 12 mini X or later models effectively fortifies app access. By using facial recognition or passcodes, you can put in place an extra layer of protection. It can be done for specific apps, safeguarding your sensitive data from unauthorized access. Now, let’s proceed with the detailed steps to lock apps using Face ID or Passcode on your iOS device:

Step 1. After opening the Settings app on your Apple iPhone 12 mini, scroll down to access “Face ID & Passcode.” Here, you will be required to provide the passcode of your device.

Step 2. After providing the passcode, select “Other Apps” and check the apps that have Face ID enabled. Remember, you’re unable to manually include apps in the list. Only those apps that have sought access to the feature will appear here automatically.

access face id and passcode option

Part 3: How to Lock Apps on iPhone Using Shortcuts?

If you are unable to lock the targeted app directly with Face ID, there is no need to worry. There exist workarounds that you can use, and one of them is using the Shortcuts app. It won’t directly lock apps with the Face ID. Instead, it provides a workaround by creating a shortcut that redirects to the lock screen.

When activated, it takes you to the lock screen, prompting Face ID, Touch ID, or Passcode to access the Apple iPhone 12 mini device again. Use the following steps to lock your apps using the Shortcuts app:

Step 1. On your Apple iPhone 12 mini, launch the Shortcuts app and select the “Automation” tab from the bottom toolbar. There, tap “New Automation” and use the search bar to look for and select “App.”

choose app automation option

Step 2. Now, tap “Choose” in front of the “App” and select the app you want to lock. Now, move down and select “Is Opened,” then move further down to choose “Run Immediately.” Here, leave “Notify when Run” deactivated.

customize app automation settings

Step 3. Proceed forward by tapping “Next” from the top right corner, and on the following screen, tap “New Blank Automation.” Then, press “Add Action” and enter “Lock Screen” into the Search field, then choose “Lock Screen” from the search results.

search for lock screen option

Step 4. Finally, tap “Done” to finalize the shortcut. Now, upon accessing the targeted app, the shortcut will activate in the background, causing your Apple iPhone 12 mini to be locked. You can then use the Face ID, Touch ID, or passcode to unlock it.

press the done option

Part 4: How to Lock Apps on iPhone Using Restrictions?

By taking the assistance of Apple’s native Restrictions feature, you can app lock the Apple iPhone 12 mini without any trouble. In this way, you can set up a passcode that needs to be matched before accessing any app. This iPhone app lock is also a great way to restrict your kids from accessing certain apps or making purchases. To learn how to lock apps on iPhone or iPad using Restrictions, follow these steps:

Step 1. Unlock your device and go to its Settings > General > Restrictions.

setup iphone restrictions

Step 2. Turn the feature on and set up a passcode for app restrictions. To provide added security, you can set up a passcode that is not similar to your lock screen passcode.

Step 3. Now, you can set up an app lock for iPhone using Restrictions. Simply go to General > Restrictions and turn this feature on for any app of your choice.

turn on restrictions for the app

Step 4. If you want, then you can also switch this feature off for any app using the same method.

Bonus Tip: How to Unlock iPhone withoutScreen Locks (PIN/pattern/fingerprints/face)

It can be a trouble if you forget your Apple iPhone 12 mini passcode since there are many restrictions on using iPhone. Also, if you are still unable to verify your Apple ID by using the above ways you may consider removing your Apple ID on your iOS devices. Here is an easy way to help you bypass Apple ID without a password and 100% working, which is to use Dr.Fone - Screen Unlock (iOS). It’s a professional iOS unlocker tool that can help you remove various locks on iPhones and iPads. With only a few steps, you can easily remove your Apple ID.

Dr.Fone - Screen Unlock (iOS)

Remove iPhone iPhone-locked screen without Hassle.

  • Unlock an iPhone whenever the passcode is forgotten.
  • Save your Apple iPhone 12 mini quickly from the disabled state.
  • Free your sim out of any carrier worldwide.
  • Works for all models of iPhone, iPad, and iPod touch.
  • Fully compatible with the latest iOS.New icon

4,008,670 people have downloaded it

Part 5: How to Lock Apps on iPhone Using Guided Access?

Besides the Restrictions feature, you can also take the assistance of Guided Access to lock a certain app on your device. It was originally introduced in iOS 6 and can be used to restrict your device temporarily with the usage of a single app. It is mostly used by parents who would like to restrict their kids from using a single app while lending their devices. Teachers and people with special needs also use Guided Access pretty frequently. To learn how to lock apps on iPhone using Guided Access, follow these steps:

Step 1. To start with, go to your device’s Settings > General > Accessibility and tap on the “Guided Access” option.

enable guided access

Step 2. Turn on the “Guided Access” feature and tap on the “Passcode Settings”.

guided access password

Step 3. After selecting the “Set Guided Access Passcode” option, you can set up a passcode to use it as an app lock for iPhone.

Step 4. Now, simply launch the app that you want to restrict and tap the Home button three times. This will start the Guided Access mode.

guided access started

Step 5. Your phone would now be restricted to this app. You can further restrict the usage of certain app features as well.

Step 6. To exit the Guided Access mode, tap the Home screen three times and provide the respective passcode.

exit guided access

Part 6: How to Lock Apps on iPhone with Touch ID?

On the Apple iPhone 12 mini 8 Series and iPhone SE, Apple offers Touch ID for security. In the process, it is similar to the Face ID available on the later iPhones. If you have an iOS device with Touch ID, here are the steps you can follow for the app lock iPhone process:

Instructions: To start, open the Settings application. Now scroll down to locate and select the “Touch ID & Passcode” option. On the following screen, you can deactivate or activate Touch ID for apps.

proceed into touch id settings

Part 7: How to Lock Apps on iPhone Using Third-Party Apps?

1. Lock Apps onApple iPhone 12 mini & iPad via Famisafe

If the reason you want to lock the apps on your Apple iPhone 12 mini has to do with managing your kid’s phone usage, we have an excellent alternative for you. FamiSafe is a reliable parental control app that offers features to monitor and manage a child’s device usage. It focuses on parental controls, including features like screen time management, location tracking, web filtering, and activity monitoring.

It offers robust controls to restrict overall device usage, set screen time limits, and monitor app usage. This helps parents guide and regulate their children’s activities on iOS devices. You can use the following steps to lock apps using FamiSafe:

Step 1: Install FamiSafe and FamiSafe Jr on Respective Devices

Get FamiSafe from the App Store and log in using your Wondershare ID or your Apple, Google, or Facebook account. Select the parent mode and link your child’s phone by installing FamiSafe Jr on their devices using either the QR code or the pairing code. Once the pairing is done, input details about your children and allow FamiSafe Jr to oversee their devices.

download the famisafe apps

Step 2: Provide the Necessary Permissions to FamiSafe

Now, activate Accessibility for FamiSafe by accessing “Settings,” tapping “FamiSafe,” and enabling “Location.” Then, grant access to the Apple iPhone 12 mini device’s photos, microphone, and motion & fitness activity. Now, use a computer and connect your child’s device with a USB cable. Activate content blockers in Safari to prevent kids from accessing inappropriate content.

 enable the content blockers

Step 3: Connect the Kid’s Device to the Computer

To do that, access “Safari” in “Settings” and move to”Content Blockers” to enable FamiSafe. To get started, connect your kids’ iOS devices to your PC. Once connected, navigate to the main interface and select “Features” located at the bottom. This will display available features, and you can proceed by tapping on “App Blocker.”

select the app blocker feature

Step 4: Block Any App Using the App Blocker Feature

Establish the connection between your kids’ iOS devices and your PC by pairing them with your phone. From there, effortlessly choose and block any unwanted apps on your kids’ phones. Additionally, you have the option to block apps based on their App Store ratings for added control and security.

block the required apps

2. Lock apps onApple iPhone 12 mini & iPad using App Locker

Besides the native iPhone app lock solutions, you can also take the assistance of a third-party tool. However, most of these apps only support jailbroken devices. Therefore, if you wish to use a dedicated app lock for your Apple iPhone 12 mini, then you need to jailbreak your device. Needless to say, getting your device jailbroken has its perks and demerits. If you don’t want to jailbreak your device, then you can simply take the assistance of the above-mentioned solutions.

However, if you have a jailbroken device and would like to app lock the iPhone, then you can also use AppLocker. It is available at Cydia’s repository and can be purchased for just $0.99. It can be installed on your jailbroken device to get an added level of security. Not just apps, it can also be used to lock certain settings, folders, accessibilities, and more. To learn how to lock apps on iPhone using AppLocker, follow these steps:

Step 1. Firstly, get AppLocker on your device from http://www.cydiasources.net/applocker . As of now, it works on iOS 6 to 10 versions.

Step 2. After installing the tweak, you can go to Settings > Applocker to access it.

iphone applocker

Step 3. To access the feature, make sure that you have “Enabled” it (by turning it on).

Step 4. This will let you set up a passcode to lock the apps and settings of your choice.

Step 5. To app lock, the iPhone, visit the “Application Locking” feature on your device.

application locking

Step 6. From here, you can turn on (or off) the locking feature for apps of your choice.

This will let your app lock the Apple iPhone 12 mini without any trouble. You can also go to the “Reset Password Phrase” to change the passcode.

3. Lock Apps onApple iPhone 12 mini & iPad using BioProtect

Just like Applocker, BioProtect is another third-party tool that works only on jailbroken devices. It can also be downloaded from Cydia’s repository. Apart from apps, you can also use BioProtect to lock settings, SIM features, folders, and more. It is linked to the Touch ID of the Apple iPhone 12 mini device and scans the fingerprint of a user to grant (or deny) access to any app. The app only works on iPhone 5s and later devices, having a Touch ID. However, you can also set a passcode as well if your Touch ID is not working. To use the BioProtect app lock for iPhone, follow these steps:

Step 1. Firstly, get the BioProtect app to lock iPhone on your device from the right http://cydia.saurik.com/package/net.limneos.bioprotect/ .

Step 2. To access the tweak’s panel, you need to provide your fingerprint access.

Step 3. Place your finger on your Touch ID and match its print.

app is locked

Step 4. This will let you access the BioProtect app settings.

Step 5. Firstly, enable the app by turning the respective feature on.

Step 6. Under the “Protected Applications” section, you can see a list of all the major apps.

protected applications

Step 7. Simply turn on (or off) the feature of the app that you wish to lock.

Step 8. You can also go to the “Touch ID” feature to further calibrate the app.

Step 9. After setting the lock, you would be asked to authenticate using your fingerprint to access the protected app.

authenticate using fingerprint

Wrap it up

By following these solutions, you would be able to learn how to lock apps on the Apple iPhone 12 mini without much trouble. We have provided both, third-party as well as native solutions to app lock the Apple iPhone 12 mini in a secure manner. You can go with your preferred option and provide an added layer of security on your device to keep it safe.


Also read:

  • Title: Forgot Locked Apple iPhone 12 mini Password? Learn the Best Methods To Unlock
  • Author: Sophia
  • Created at : 2024-06-08 07:47:56
  • Updated at : 2024-06-09 07:47:56
  • Link: https://ios-unlock.techidaily.com/forgot-locked-apple-iphone-12-mini-password-learn-the-best-methods-to-unlock-by-drfone-ios/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Forgot Locked Apple iPhone 12 mini Password? Learn the Best Methods To Unlock