Read this document if you think your Apple ID has been compromised. --> If you think your Apple ID has been compromised - Apple Support
For iOS 15 or earlier, if you want to see if anyone else has access to your device or accounts, click here --> See who has access to your iPhone or iPad - Apple Support
For iOS 16 or later see how Safety Check on iPhone works to keep you safe. How Safety Check on iPhone works to keep you safe - Apple Support
Use the information in this document to check your Apple ID device list to find where you're signed in --> Check your Apple ID device list to find where you're signed in - Apple Support
Related materials:
Personal Safety User Guide
<
00004000
a href="https://support.apple.com/guide/personal-safety/welcome/web" target="_blank" rel="nofollow noopener noreferrer">Personal Safety User Guide - Apple Support
> open the Table of Contents and review the articles
A document with general information about security and your Apple ID --> Security and your Apple ID - Apple Support
Contact Apple for help with Apple ID account security. This page provides country-specific Apple Support contact information ➞ Contact Apple for support and service - Apple Support
Use the suggestions in those article to confirm account security. While it is a good idea to confirm that there is nothing wrong with the account, the kind of messages you see are the kind of thing many users have sometimes seen with no real explanation. You are welcome to contact Apple but I suspect even they might not be able to tell you. I know I got that kind of message when I once started up a device I hadn't used in a few months.