Yes - locking your guides is an easy way to ensure that they stay in place while you work. To do so, simply go to "View" -> "Lock Guides." To unlock them later, revisit the same menu and uncheck the box.