add locks to part and connector