In lazarus you can use this to lock focus to a single form, I believe this will work with delphi as well.

Form.ShowModal;