In physics, the concept you might be referring to is “muscle memory.” Over time, as a student repeatedly enters their locker combination, their muscles and nervous system become accustomed to the specific movements required to open the lock. This muscle memory allows them to perform the task without consciously thinking about the combination, much like how someone can play a musical instrument without having to consciously consider each note.