Google has just added an incredibly useful feature to its Android Device Manager service. As first noted by Android Police, you can now remotely lock your Android device with a specific password or passcode, should you misplace it or have it stolen.

Most notably, you can override any other pattern or pin set on the device. The Device Manager will simply ask to you to choose a new password when submitting the lock request, and when you find the device, you simply enter in that passcode to regain access. If the device is in Airplane mode, the service will automatically perform the lock request as soon as it’s reconnected to the internet.

With Google, Apple, and others under strong pressure from the government to improve device security, this feature is incredibly useful. Apple recently launched a new Activation Lock feature that requires an Apple ID and password to reactivate a device after it’s reset via Find My iPhone.

To try this functionality out for yourself, head to the Android Device Manager site and select the lock icon and be sure the service is already enabled on your device, as well.