Port and outlet lock