Lock scene sample code for Corona SDK.