def METHOD_NAME(client: Client):
    set_autolock_delay(client, 10 * 1000)
    resp = client.call_raw(
        messages.GetAddress(
            coin_name="Testnet",
            address_n=TEST_ADDRESS_N,
            show_display=True,
            script_type=messages.InputScriptType.SPENDADDRESS,
        )
    )
    assert isinstance(resp, messages.ButtonRequest)
    # send an ack, do not read response
    client._raw_write(messages.ButtonAck())
    # sleep more than auto-lock delay
    time.sleep(10.5)
    resp = client._raw_read()
    assert isinstance(resp, messages.Failure)
    assert resp.code == messages.FailureType.ActionCancelled