Changed the lock icon behaviour