The Deprivation of Liberty Safeguards is the procedure prescribed in law when it is necessary to deprive of their liberty a resident or patient who lacks capacity to consent to their care and treatment in order to keep them safe from harm.