Hello Andre Muraro,
Thanks for reaching Microsoft Community.
When device freezes or hangs, it may be due to a software issue. Please try to force the device to shut down by holding down the power button. This will reset it's hardware cache. Also, Update your Surface Duo to prevent any software related issue.
Hope this helps. Let me know how the issue progresses by simply replying on this thread.
StevenK