if i understood your question correctly, i think you have the sleep/awake magnets on your front flap, and when you align it behind your iPad, it accidentally turns it off. What you can do is 1) don't align the flap behind your ipad 2) turn off the sleep/awake function under Settings: iPad Cover...