lock by port
Lock by port