Write an article based on this "Open the Apple menu . Click System Preferences…. Click  iCloud or Apple ID. Scroll down and uncheck the "Find My Mac" box. Enter your Apple ID password when prompted. Click Continue. Click Overview (MacOS Catalina Only). Click Sign Out. Click Continue."

Article:
Click the Apple logo in the top-left corner of the screen. A drop-down menu will appear. It's at the bottom of the drop-down menu. Doing so opens the System Preferences window. If you are using an older version of MacOS, click the iCloud icon that resembles a blue cloud.  If you are using MacOS Catalina or higher, click the grey Apple ID icon with a white Apple logo. It's near the bottom of the window. Type your Apple ID password in the provided text field. It's in the bottom-right corner of the window. If you are using the Apple ID app on MacOS Catalina, click Overview in the sidebar to the left. You'll find this option in the lower-left side of the window. You may be asked if you want to keep a copy of any of the data stored in your iCloud account. If so, click the checkbox for each category of data you want to keep, and then click Keep a Copy. Doing so will sign you out of your Apple ID account on your Mac.