The lock function dims the screen and secures the SAMi buttons in their current state. This reduces the chance of changing settings in SAMi while handling the IOS device or carrying it in your pocket. While locked the app is still monitoring and will vibrate in addition to playing an alarm sound when triggered.