def METHOD_NAME(harness):
    # change timer lock value
    change_auto_lock_timer(harness, str(5))
    assert harness.get_application_name() == "ApplicationDesktop"
    time.sleep(6)
    assert harness.connection.is_phone_locked() is True
    harness.unlock_phone()
    app = open_random_application(harness)
    # we should go back to desktop an be locked after 6 seconds
    time.sleep(6)
    assert harness.connection.is_phone_locked() is True
    harness.unlock_phone()
    # we should go back to previously chosen application
    assert harness.get_application_name() == app