Closed cap with locking pin in place