def METHOD_NAME(control):
    """Return attribute plugs with incoming connections.
    This will also ensure no (driven) keys on unlocked keyable attributes.
    Args:
        control (str): Name of control node.
    Returns:
        list: The invalid plugs
    """
    import maya.cmds as mc
    # Support controls without any attributes returning None
    attributes = mc.listAttr(control, keyable=True, scalar=True) or []
    invalid = []
    for attr in attributes:
        plug = "{}.{}".format(control, attr)
        # Ignore locked attributes
        locked = cmds.getAttr(plug, lock=True)
        if locked:
            continue
        # Ignore proxy connections.
        if (cmds.addAttr(plug, query=True, exists=True) and
                cmds.addAttr(plug, query=True, usedAsProxy=True)):
            continue
        # Check for incoming connections
        if cmds.listConnections(plug, source=True, destination=False):
            invalid.append(plug)
    return invalid