node.unlockReadOnlyPropertiesOnce();
node.setProperty(AbstractNode.createdBy, user.getProperty(GraphObject.id));
}
for (Entry<PropertyKey, Object> attr : properties.entrySet()) {
Object value = attr.getValue();
PropertyKey key = attr.getKey();
if (key.isReadOnly()) {
node.unlockReadOnlyPropertiesOnce();