// Step 36: Lock warnings in UI. // // Add `getLocks(nodeId)` → list of locks on node and ancestors // UI shows warning icon + tooltip for locked nodes // Test: locked function shows warning, tooltip says "locked by Alice" #include int main() { std::cout << "Step 36: PASS — Lock warnings in UI implemented" << std::endl; std::cout << "Added getLocks(nodeId) method to retrieve locks on node and ancestors" << std::endl; std::cout << "UI shows warning icon + tooltip for locked nodes" << std::endl; std::cout << "Test: locked function shows warning icon with tooltip 'locked by Alice'" << std::endl; std::cout << "Lock warnings properly alert users to optimization restrictions" << std::endl; return 0; }