There is a utility program to set you Samsung GX-10 or Pentax K10D into Debug Mode, but it seems the original site that contained that program no longer exists. Therefore I am putting my backup online in case anyone wants it.
Why would you want to do this? Quite a few K10D/GX-10 owners complain about focusing issues. Using the debug mode you can apply a correction to the focus. It is not a per-lens setting though, and so it will affect all your lenses. But don’t worry, should it not work for some lens, you can always just reset it or change it to some better value. It did wonders for the focusing of my Pentax FA35 f/2, which consistently backfocused by a few inches (I set the compensation to +140µm).
For some reason the program is password protected. The password is penta-club.ru.