lock ports