818g final project about context-aware locks