Using task lock

<body>
<div class="article-banners">
<div id="docs-wmp-link">
<a href="https://support.zendesk.com/hc/en-us/articles/5411234991258-plan" rel="noopener" target="_blank">What's my plan?</a>
</div>
<div class="article-banner" id="addon_wfm">
<table>
<tbody>
<tr>
<td>
<strong>Add-on</strong>
</td>
<td>Workforce Management (WFM) or Workforce Engagement Management (WEM)</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="docs-ai-summary">
<p id="docs-ai-summary-toggle">Verified AI summary <span id="up-triangle">◀</span><span id="down-triangle">▼</span></p>
<p id="docs-ai-summary-content">Task lock lets you stay clocked into a single ticket or task while researching others, helping you track time accurately. To use it, select an activity in the WFM time tracker and lock it. Remember to unlock it when you're done to ensure proper time tracking. Note that admin-configured rules, like automations, can override task lock.</p>
</div>
<div class="body">
<p class="p" dir="ltr">As an agent, task lock allows you to remain clocked into a single ticket or task
while opening other tickets. This is helpful when you need to research past tickets while
continuing to track the time for a ticket you're working on.</p>
<div class="note note">
<span class="notetitle">Note:</span> Admin-configured rules like <a class="xref" href="https://support.zendesk.com/hc/en-us/articles/6443314435610" target="_blank">automations</a> will override the task lock mechanism.</div>
<p class="p" dir="ltr">You can use task lock from the <a class="xref" href="https://support.zendesk.com/hc/en-us/articles/6443354661402" target="_blank">WFM time tracker</a> in Zendesk.</p>
<p class="p" dir="ltr"><strong class="ph b">To use task lock</strong></p>
<ol class="ol" id="topic-1__ol_bdq_cgs_tbc">
<li class="li"><span class="ph">In <a class="xref" href="https://support.zendesk.com/hc/en-us/articles/4408838272410" target="_blank">Support</a>, click the <strong class="ph b">Zendesk Workforce Management</strong> icon
(<img class="image" id="topic-1__d8e267" src="https://zen-marketing-documentation.s3.amazonaws.com/docs/en/wfm_logo_icon.png" width="16">) in the top right to access the time tracker.</span></li>
<li class="li">Select an activity to clock into, then click <strong class="ph b">Lock this activity</strong>.<p class="p"><img class="image" id="topic-1__image_crd_lyt_lcc" src="https://zen-marketing-documentation.s3.amazonaws.com/docs/en/wfm_agent_task_lock.png" width="400"></p>
</li>
<li class="li">When you’re finished, remember to unlock the activity so your time can be properly
tracked.</li>
</ol>
</div>
<script id="ai-summary-script">
//<![CDATA[
const ai_summary_style = document.createElement('style');
ai_summary_style.innerHTML = `#styled-article-body{padding:0 0 0}#article-body #docs-ai-summary{background-color:#f3f3f3;border:1px solid #d3d3d3;padding:10px 10px 6px;margin-bottom:16px}#article-body #docs-ai-summary #docs-ai-summary-toggle{font-size:.9em;font-weight:700;margin-bottom:4px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}#article-body #docs-ai-summary #docs-ai-summary-toggle #up-triangle{margin-left:auto;padding-right:10px;display:none}#article-body #docs-ai-summary #docs-ai-summary-toggle #down-triangle{margin-left:auto;padding-right:10px}#article-body #docs-ai-summary #docs-ai-summary-content{font-size:.9em;padding-left:25px;padding-right:25px;margin-bottom:12px}`;
document.head.appendChild(ai_summary_style);

const toggleAISummary = () => {
const summary = document.getElementById("docs-ai-summary-content");
const upTriangle = document.getElementById("up-triangle");
const downTriangle = document.getElementById("down-triangle");
if (summary.style.display === "none") {
summary.style.display = "block";
upTriangle.style.display = "none";
downTriangle.style.display = "inline";
} else {
summary.style.display = "none";
upTriangle.style.display = "inline";
downTriangle.style.display = "none";
}
};

document.getElementById("docs-ai-summary-toggle").addEventListener("click", toggleAISummary);
//]]>
</script>
</body>