LPS-48772 Avoid lock button to appear if the entity is a shortcut