<li id="remove_locks"> <a onclick="{literal} MODx.removeLocks();return false;{/literal} ">Remove Locks<span class="description">Remove all locks on Manager pages</span> </a> </li>
<li id="remove_locks"> <a onclick=" MODx.msg.confirm({ title: _('remove_locks') ,text: _('confirm_remove_locks') ,url: MODx.config.connectors_url ,params: { action: 'system/remove_locks' } ,listeners: { 'success': {fn:function() { var tree = Ext.getCmp('modx-resource-tree'); if (tree && tree.rendered) { tree.refresh(); } },scope:this} } });">Remove Locks<span class="description">Remove all locks on Manager pages</span> </a> </li>
This question has been answered by Bruno17. See the first response.
Have you tried manually deleting all files in the core/cache directory and visiting with your browser in private or incognito mode?
can you tell something about your environment?