This refers to a sacred secret that only God knows.
To restrain someone is to hold him back or to keep him from doing what he wants to do.