Enzyme immobilization studied through molecular dynamic simulations