locking to specific commits