Password based door locking system in hardware demonstration