Added logs lock functionality