add port locks for the services