ui for locking and details