The “look up manager of a user” will automatically find the staff member’s manager and assign task to the manager. If you want to find the manager of the user manually, you can check the user's profile. As this is a SharePoint question,
it is recommended you get further support at
SharePoint forum. The engineers and community members there could give you more valuable suggestions. Thanks for understanding.