add basic lock and unlock functionality with simplistic ui