I am not sure whether locking the device pro grammatically is still possible with Android, but you may follow this SO discussion for the latest.
AIR does not provide API to lock a mobile device, because such capability is not universally available on all mobile/desktop platforms. AIR's design philosophy is to keep its default SDK features to be available to all platforms, so developers don't have to think of platforms' discrepancies.
The latest AIR provides the means to extend platform-specific capability through Native Extension (ANE). You can check variety of extensions over numerous sites such as this one.
That said, if Android natively provides locking capability, you are in good luck. Even if such ANE is not available, I am sure you can easily get one developed.