Publishes the isLocked function