When prompting a user to invite their friends, it doesn’t unlock the mouse if UserInputService.MouseBehavior is set to LockCenter/LockCurrentPosition. I assume the UI’s Modal property is set to false.
Expected behavior
The UI’s Modal property should be set to true so that it unlocks the mouse when it pops up. This would prevent me from having to build custom solutions for when this UI is open.