How to unlock mouse after increasing the resolution?

When I increase the resolution my mouse locks to rectangle area of previous resolution. The only way to unlock it is to change focus to another window or toggle console.

How to unlock mouse by using code?

Found a solution. Lock() function unlocks mouse if it gets NULL as parameter.
So you just need to run FSlateApplication::Get().LockMouse(NULL) to unlock the mouse.

Resolved. =)

Hello,
I have the same problem. Is there a way to resolve it using blueprints?
Thank you!