This refers to a sacred secret that only God knows.
To restrain someone is to hold them back or to keep them from doing what they want to do.