You could join the Civil Service as a Border Force assistant officer, then apply for an officer post when vacancies become available.
To do this, you'll usually need 5 GCSEs at grades 9 to 4 (A* to C), including English and maths, or equivalent qualifications.