Epidemics caused by microbial organisms are part of the natural phenomena of increasing biological complexity. The heterogeneity and constant variability of hosts, in terms of age, immunological status, family structure, lifestyle, work activities, social and leisure habits, daily division of time, and other demographic characteristics make it extremely difficult to predict the evolution of epidemics. Such prediction is, however, critical for implementing intervention measures in due time and with appropriate intensity. General conclusions should be precluded, given that local parameters dominate the flow of local epidemics. Membrane computing models allows us to reproduce the objects (viruses, hosts) and their interactions (stochastic but also with defined probabilities) with an unprecedented level of detail. Our LOIMOS model helps reproduce the demographics and social aspects of a hypothetical town of 10,320 inhabitants in an average European country where COVID-19 is imported from the outside. The above-mentioned characteristics of hosts and their lifestyle are minutely considered. The dynamics of the epidemics are reproduced and include the effects on viral transmission of innate and acquired immunity at various ages. The model predicts the consequences of delaying the adoption of non-pharmaceutical interventions (between 15 and 45 days after the first reported cases) and the effect of those interventions on infection and mortality rates (reducing transmission by 20%, 50%, and 80%) in immunological response groups. The lockdown for the elderly population as a single intervention appears to be effective. This modelling exercise exemplifies the application of membrane computing for designing appropriate interventions in epidemic situations.