Yes it does, but someone might add something below that in rush and it will "protect" another line. It's good practice to surround protected lines with {} if you use lock.