Use AI in clinical and practice work without sending PHI
Locke masks patient names, MRNs, birth dates and plan IDs on your computer before any AI tool sees them.
- For
- Clinicians, practices, health system staff and health tech teams
- Runs on
- x64 Windows and Linux. macOS is coming soon.
- Screens
- AI websites, through the free Locke Extension. Coding agents and SDK calls, through a local proxy.
- Sent to Sonomos
- Account, licence check, settings. Never prompts, files or detections.
- Price
- Free for one person. Teams is $12.99 per user a month. Pricing
What HIPAA asks before PHI goes into an AI tool
81% of physicians use AI in their practices, up from 38% in 2023 (AMA, March 2026).
What goes into a clinical prompt
Every type is masked by default; let one through when a task needs it.
What you write
Rewrite these instructions at a sixth-grade level for Grace Holloway, DOB 04/12/1961, MRN 00731942.
What the AI gets
Rewrite these instructions at a sixth-grade level for PER_wn40, DOB DOB_k609, MRN MRN_5j2f.
PERnameDOBdate of birthMRNmedical record number
The task needs the instructions, not the patient. Invented example.
| The work | What the prompt carries | What the AI receives |
|---|---|---|
Draft patient instructions | Name, birth date, diagnosis, medications. | Clinical content; identifiers masked. |
Summarize a chart for a referral | MRN, name, ICD-10 codes, the referrer's NPI. | The request; patient and provider IDs masked. |
Appeal a denied claim | Member ID, CPT and ICD-10 codes, name. | The argument; patient and plan IDs masked. |
Reply to a portal message | Name, phone, email, symptoms. | The reply; name and contacts masked. |
Clean a data export (health tech) | CSV rows of MRNs, names, plan IDs. | The structure; identifiers masked. |
What Locke finds in health data
- Patient identity
- Names, contacts, birth dates
- Medical record numbers
- Health plan IDs
- Diagnosis, procedure and drug codes
- ICD-10, CPT, HCPCS, NDC
- Provider identifiers
- NPI, DEA
- Government IDs
- SSN, license, passport, NHS number
- Health terms
Masking is not de-identification, and a rare condition can identify a patient without a name.
The rules that apply
| Rule | What it asks | Source |
|---|---|---|
| Business associate agreements | A vendor handling PHI for you must give satisfactory assurance, normally a BAA. Without one, sending it PHI is generally not permitted. | Source: 45 CFR 164.504(e); 45 CFR 160.103 |
| HIPAA minimum necessary standard | Limit PHI to the minimum necessary for the purpose. Treatment disclosures between providers are exempt. | Source: 45 CFR 164.502(b) |
| De-identification | Data de-identified by Safe Harbor or Expert Determination is not PHI. Masking moves toward that line but meets neither method alone. | Source: 45 CFR 164.514(b) |
Locke masks identifiers before the prompt leaves. It does not make a tool HIPAA compliant or replace a BAA. Locke is not a covered entity or business associate. Not legal advice.
How Locke works on a clinician's computer
Finds
67 types of sensitive data, as each request leaves your computer.
Masks
Each value becomes a one-way token, the same every time, so the AI can follow who is who. Requests Locke cannot check are refused.
Stays on your device
Patient data never reaches Sonomos. Detection runs on your computer, not our servers. Our position is that Sonomos is not a business associate for what Locke inspects. Security review pack
What Locke does not do
- Images are not screened; a chart photo goes as is unless images are set to Block.
- PDFs and Word files are blocked, not read; paste the text.
- Voice and dictation modes are not screened.
- Masking is one-way; reversible tokenization is planned.
- It does not connect to your EHR.
- It runs on x64 Windows and Linux; macOS is coming soon.
Full list: known limitations.
For a practice or a health system team
- Free
- One person, full protection, no card, no time limit.
- Teams
- $12.99 per user a month, up to 20 seats, 30-day free trial, US only. One admin policy for the practice. HIPAA compliance reports are evidence about the tool, not an audit.
- Programs
- Community health centers, free clinics and other nonprofits: three months free (nonprofit program).
Questions clinicians and practices ask
Can doctors use ChatGPT with patient information?
Only under the right conditions. Sharing PHI with an AI provider generally needs a business associate agreement, and consumer ChatGPT plans do not offer one. Even with a BAA, the minimum necessary standard applies. Locke lets you ask the clinical question while masking the patient's name, MRN, date of birth and plan ID on your computer. Your organization's policy decides which tools are allowed.
Is Locke HIPAA compliant?
No software is HIPAA compliant on its own: compliance belongs to your organization and how it works. Locke runs on your device, so Sonomos never receives the PHI it inspects. It reduces the PHI that reaches an AI tool, but detection is probabilistic and can miss things. Whether your use satisfies HIPAA is for your compliance team.
Do we need a BAA with Sonomos?
Our position is that Sonomos does not act as a business associate for the content Locke inspects, because it never leaves your device: we do not create, receive, maintain or transmit it (45 CFR 160.103). Your counsel should confirm this for your organization, and we will review a BAA request. Any BAA with the AI provider itself is between you and that provider.
Does masking make a prompt de-identified under HIPAA?
Not by itself. De-identification has two defined methods: Safe Harbor, which removes 18 kinds of identifiers and requires no actual knowledge that the rest could identify the patient, and Expert Determination. Locke masks the identifiers it detects, which reduces what reaches the AI, but it does not certify a prompt as de-identified.
Does Locke work with our EHR?
Locke does not connect to your EHR. When you copy text from the EHR into ChatGPT, Claude or Gemini in the browser, the Locke Extension holds the request while Locke screens it. A proxy on your computer does the same for command-line tools and SDK calls.
Leave the MRN in the chart. Ask the AI the clinical question.