In order to block/disable the player movement we can use 2 methods from the Player class.
// Blocking the movement and rotationPlayer.Get().BlockMoves();Player.Get().BlockRotation();// Unblocking the movement and rotationPlayer.Get().UnblockMoves();Player.Get().UnblockRotation();