Adding pseudocode sketchup for locking