HW 2: Lock

See the PDF file for HW 2 details