Make the device lock immediately, as if the lock screen timeout has expired at the point of this call.
The calling device admin must have requested DeviceAdminInfo.UsesPolicyForceLock to be able to call this method; if it has not, a security exception will be thrown.