Hi mlnlbrt_,
If we understand correctly, it sounds like you tested locking your Mac using Find My, but you're unable to turn off Find My. Is that right?
If that's correct, this may help you: Activation Lock for Mac - Apple Support
"How to disable Activation Lock
To disable Activation Lock, turn off Find My Mac.
macOS Ventura or later
- Choose Apple menu > System Settings.
- Click your name (Apple ID) in the sidebar.
- Click iCloud on the right.
- Click the Show All button on the right, then click Find My Mac and turn it off. Enter your Apple ID password when prompted.
macOS Monterey or earlier
- Choose Apple menu > System Preferences.
- Click Apple ID.
- Click iCloud in the sidebar.
- Deselect the Find My Mac checkbox on the right, then enter your Apple ID password when prompted.
Other ways to disable Activation Lock
If your previously owned Mac shows an Activation Lock window that asks for someone else's Apple ID, the previous owner may need to remove Activation Lock for you."
We hope that helps. If the issue persists, please reply back with more detail about the issue.
Take care.