---
title: "#lock articles | Hashnode"
description: "Explore 46 articles tagged #lock on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/lock"
---

Tag

# #lock

46 posts · 5 followers

[Bikash Mainali](https://hashnode.com/@bikash8848) · [Mar 22](https://hashnode.com/posts/how-to-use-locks-in-multi-threaded-java-program/69c0822fd9da55a9a5fd9f82)

### [How to Use Locks in Multi-Threaded Java Program](https://bikash8848.hashnode.dev/how-to-use-locks-in-multi-threaded-java-program?utm_source=hashnode&utm_medium=feed)

1\. Exclusive Lock(ReentrantLock): Only one thread can acquire the lock at a time. package org.example.concurrency; import java.util.ArrayList; import java.util.List; import java.util.concurrent.locks

3 min read · [bikash8848.hashnode.dev](https://bikash8848.hashnode.dev/how-to-use-locks-in-multi-threaded-java-program?utm_source=hashnode&utm_medium=feed)

[Ibrahim Bello](https://hashnode.com/@Ibrahimbello) · [Mar 9](https://hashnode.com/posts/build-a-glassmorphism-lock-ui-with-dark-mode/69aedea8af06a097c3a778c7)

### [Build A Glassmorphism Lock UI With Dark Mode](https://dacodenexus.hashnode.dev/build-a-glassmorphism-lock-ui-with-dark-mode?utm_source=hashnode&utm_medium=feed)

Glassmorphism Lock Screen Ui, with Dark and Light mode, also has incorrect PIN restrictions timer. Can also be readvanced 🙂

2 min read · [dacodenexus.hashnode.dev](https://dacodenexus.hashnode.dev/build-a-glassmorphism-lock-ui-with-dark-mode?utm_source=hashnode&utm_medium=feed)

[Afshin Amini](https://hashnode.com/@mnafshin) · [Feb 16](https://hashnode.com/posts/java-synchronization-mechanisms-a-comprehensive-comparison/69926fca545569a0884ed2fc)

### [Java Synchronization Mechanisms: A Comprehensive Comparison](https://springuniverse.hashnode.dev/java-synchronization-mechanisms-a-comprehensive-comparison?utm_source=hashnode&utm_medium=feed)

Explore Java synchronization mechanisms such as intrinsic locks, ReentrantLock, and ReadWriteLock to ensure thread safety and prevent data races

14 min read · [springuniverse.hashnode.dev](https://springuniverse.hashnode.dev/java-synchronization-mechanisms-a-comprehensive-comparison?utm_source=hashnode&utm_medium=feed)

[Flybird Interior](https://hashnode.com/@fb-interior) · [Feb 10](https://hashnode.com/posts/lock-hardware-a-complete-guide-to-modern-secure-and-premium-locking-systems/698b0a78e10ff8478a08710e)

### [Lock Hardware: A Complete Guide to Modern, Secure & Premium Locking Systems](https://locks-door.hashnode.dev/lock-hardware-a-complete-guide-to-modern-secure-and-premium-locking-systems?utm_source=hashnode&utm_medium=feed)

In today’s interiors and architectural designs, a lock is no longer just a security component—it is a functional, aesthetic, and reliability-driven solution that defines safety, usability, and style. From residential spaces to commercial environments...

6 min read · [locks-door.hashnode.dev](https://locks-door.hashnode.dev/lock-hardware-a-complete-guide-to-modern-secure-and-premium-locking-systems?utm_source=hashnode&utm_medium=feed)

[fbinterior9](https://hashnode.com/@flybirdinterior) · [Feb 10](https://hashnode.com/posts/the-complete-handbook-to-selecting-the-perfect-wardrobe-lock-for-modern-spaces/698add66bfbf9a03d3494a5a)

### [The Complete Handbook to Selecting the Perfect Wardrobe Lock for Modern Spaces](https://lock-2.hashnode.dev/the-complete-handbook-to-selecting-the-perfect-wardrobe-lock-for-modern-spaces?utm_source=hashnode&utm_medium=feed)

📝 Introduction Wardrobes are no longer just wooden boxes for storing clothes — they have evolved into essential storage systems that hold personal, valuable, and sometimes confidential belongings. As homes become more organized and lifestyle needs c...

6 min read · [lock-2.hashnode.dev](https://lock-2.hashnode.dev/the-complete-handbook-to-selecting-the-perfect-wardrobe-lock-for-modern-spaces?utm_source=hashnode&utm_medium=feed)

[Rohit kaurani](https://hashnode.com/@rohitkaurani) · [Dec 15, 2025](https://hashnode.com/posts/kaizen-focus-for-parents-protect-your-childs-digital-life/693fe054ec3aec7d1c95fc38)

### [Kaizen Focus for Parents – Protect Your Child’s Digital Life](https://kaizen-speech-studio.hashnode.dev/kaizen-focus-for-parents-protect-your-childs-digital-life?utm_source=hashnode&utm_medium=feed)

Kaizen Focus Employee monitoring often fails because it feels invasive. Kaizen Focus solves this with transparent, rule-based productivity tracking. Employers can: Define working hours (daily, weekly, monthly) Track app & website usage Block distr...

1 min read · [kaizen-speech-studio.hashnode.dev](https://kaizen-speech-studio.hashnode.dev/kaizen-focus-for-parents-protect-your-childs-digital-life?utm_source=hashnode&utm_medium=feed)

[udythinc](https://hashnode.com/@udythinc) · [Nov 20, 2025](https://hashnode.com/posts/intelligence-in-door-locks-joy-in-life-bluetooth-smart-door-lock-solutions/691ed6d8478705a1d09abd99)

### [Intelligence in door locks, joy in life - Bluetooth smart door lock solutions](https://udythinc.hashnode.dev/intelligence-in-door-locks-joy-in-life-bluetooth-smart-door-lock-solutions?utm_source=hashnode&utm_medium=feed)

In the current wave of digital life, smart home products have gradually integrated into the public, and smart door locks are an indispensable part. Smart door locks can allow users to completely bid farewell to traditional keys. Your fingerprints and...

4 min read · [udythinc.hashnode.dev](https://udythinc.hashnode.dev/intelligence-in-door-locks-joy-in-life-bluetooth-smart-door-lock-solutions?utm_source=hashnode&utm_medium=feed)

[Ashifur Rahaman](https://hashnode.com/@ashif-arsb) · [Sep 1, 2025](https://hashnode.com/posts/c-concurrency-demystified-from-thread-locks-to-file-io/68b5c7e64f2f01986961d9b6)

### [C# Concurrency Demystified: From Thread Locks to File IO](https://csinsight.hashnode.dev/c-concurrency-demystified-from-thread-locks-to-file-io?utm_source=hashnode&utm_medium=feed)

The Essentials of Thread Locking in C When multiple threads need to access the same object in memory, you need to ensure they do so in an orderly fashion. This is called synchronization. C# provides several tools for this, each suited for different s...

4 min read · [csinsight.hashnode.dev](https://csinsight.hashnode.dev/c-concurrency-demystified-from-thread-locks-to-file-io?utm_source=hashnode&utm_medium=feed)

[Webiron Mongery](https://hashnode.com/@WebironMongery7827) · [Aug 26, 2025](https://hashnode.com/posts/what-to-do-when-your-bathroom-lock-gets-jammed-quick-fixes/68ad8e86de30e5a81625897d)

### [What to Do When Your Bathroom Lock Gets Jammed: Quick Fixes](https://webironmongery78.hashnode.dev/what-to-do-when-your-bathroom-lock-gets-jammed-quick-fixes?utm_source=hashnode&utm_medium=feed)

There’s nothing more frustrating than a jammed bathroom lock, especially when you’re in a hurry or someone’s behind the door. At WebIronmongery.com, we know how critical smooth, reliable locks are—for both privacy and peace of mind. In this comprehen...

7 min read · [webironmongery78.hashnode.dev](https://webironmongery78.hashnode.dev/what-to-do-when-your-bathroom-lock-gets-jammed-quick-fixes?utm_source=hashnode&utm_medium=feed)

[갱갱](https://hashnode.com/@minkyeong) · [Aug 22, 2025](https://hashnode.com/posts/optimistic-lock-pessimistic-lock/68a7e0e76f534c3c13489de1)

### [낙관적 락(Optimistic Lock)과 비관적 락(Pessimistic Lock)](https://gaeng.hashnode.dev/optimistic-lock-pessimistic-lock?utm_source=hashnode&utm_medium=feed)

락(Lock)의 필요성 현대 애플리케이션은 대부분 동시성(Concurrency) 문제에 직면합니다. 여러 사용자나 프로세스가 동시에 같은 데이터를 수정하거나, 은행 계좌 이체와 같은 중요한 트랙잭션을 동시에 실행하는 경우가 있습니다. 이때 동시 접근을 적절히 제어하지 않으면, 데이터 불일치, 중복 처리, 시스템 오류까지 발생할 수 있습니다. 이를 방지하기 위해 락(Lock) 개념이 도입되었습니다. 락은 여러 프로세스나 스레드가 동시에 동일한 자...

3 min read · [gaeng.hashnode.dev](https://gaeng.hashnode.dev/optimistic-lock-pessimistic-lock?utm_source=hashnode&utm_medium=feed)
