Dashboard mysteriously locked

My dashboard in my Android phone is suddenly locked on my phone but not with my Android tablet. Could this be done accidentally while in my pocket? Is there a way to get it back or create a new one?