Made seconds to wait before locking a constant, added some comments for clarity