/* Function to lock the beacon (change lock state characteristic to LOCKED)  */
static void lock_beacon(void)
/* Function to lock the beacon (change lock state characteristic to LOCKED)  */
static void lock_beacon(void)
{
    *(m_ble_ecs.p_lock_state) = NRF_BLE_ESCS_LOCK_STATE_LOCKED;
}